Skip to content

Source Maps + Minification #340

@bdkjones

Description

@bdkjones

I was very surprised to see a compiling error when I attempted to compile JSX with both the minify and enable-source-map option. All good JavaScript minifiers accept "input" source maps, which are then modified appropriately to reflect the minification.

Does the JS minifier that JSX uses not support that? If so, please consider switching to Uglify.js 2 as the minifier. It's far and away better than anything else out there, including Closure. It will happily accept an input source map, which will remove the limitation that sparked this issue.

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