Skip to content

Reconsider hidden-source-map #68

Description

@skrat

So when one is developing an npm/webpack project and using fengari-web, it is hard to debug anything that comes from fengari. And even though there is a source map, there's no way for my webpack project to expose that to the browser, because fengari-web is using the odd hidden-source-map devtool in its webpack config. This prevents any debugging in the browser.

That said, could you please consider using source-map instead? The part that is missing is the reference to the source map from the bundled JS blob. From webpack's docs:

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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