Skip to content

Limited Source map generation #19187

Open
@pjebs

Description

Description

This is related to #19186 (as an alternative solution to that proposal).
Source Maps are too large for analysis in production during production. (I know it's not the normal way)

Vite should have an option to generate a very limited source map.
The ability for it to record ONLY the original filename of files in a limited set of directories. (No line numbers, character positions etc).

The intention is to analyse stack traces.

Suggested solution

Limited Source maps

Alternative

No response

Additional context

No response

Validations

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