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.
I was very surprised to see a compiling error when I attempted to compile JSX with both the
minify
andenable-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.