Skip to content
This repository was archived by the owner on May 17, 2019. It is now read-only.
This repository was archived by the owner on May 17, 2019. It is now read-only.

Allow configuring 'source-map' instead of 'hidden-source-map' for production builds.  #763

@lxe

Description

@lxe

Fusion-cli correctly .map files for production builds, but uses hidden-source-map webpack config, which omits the //# sourceMappingURL comment at the end of the source files.

From https://webpack.js.org/configuration/devtool/:

hidden-source-map - Same as source-map, but doesn't add a reference comment to the bundle. Useful if you only want SourceMaps to map error stack traces from error reports, but don't want to expose your SourceMap for the browser development tools.

For many projects, it's useful to expose hidden source maps to devtools to allow debugging in production.

I'd like to propose an option to use 'source-map' instead if 'hidden-source-map'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions