Skip to content

Feature to preserve original file names and file paths in stack (after bunding) #19186

Closed as not planned
@pjebs

Description

@pjebs

Description

During npm run dev, the stack trace contains information about the chain of calling functions (most importantly their file name and path).
After npm run build and then npm run preview, the stack trace loses all of that original information (since after bundling it is the one file).

I was wondering if vite can make it possible for me to find that information (without a source map) for some key functions that I can mark to Vite.

Suggested solution

Not sure

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions