Skip to content

Usage with devtool: "hidden-source-map" #21

@rtsao

Description

@rtsao

Thanks for making this plugin!

It's co common to use devtool: "hidden-source-map" in production. However, the problem with this use case is this plugin doesn't rename the final source map filename to match the final chunk asset filename. Usually when mapping stack traces server-side, the assumption is the source map filename is always x.js.map where the associated js file is x.js.

For "hidden-source-map" usage, it would be nice if this plugin renamed the source map filename to match the final chunk asset name.

Perhaps this could be an option/config. Happy to work on a PR and tests for this if that makes sense to you.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions