We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I'm trying to run uglifyify with babelify and get source maps, not sure what I'm doing wrong.
Here's what I'm running:
browserify \ -t [ babelify --presets [ es2015 react ] ] \ -g uglifyify index.js > bundle.js
I'm pretty sure you need to pass -d to browserify to get source maps, but when I do that my output isn't minified.
browserify -d \ -t [ babelify --presets [ es2015 react ] ] \ -g uglifyify index.js > bundle.js
Source maps and minification work with minifyify, but I'm seeing better compression if I run uglify.
This works:
browserify -d \ -t [ babelify --presets [ es2015 react ] ] \ -p [minifyify --map bundle.map.json --output bundle.map.json] index.js > bundle.js
Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
Hmm. It seems like minifyify does use UglifyJS, but has an issue.
minifyify
UglifyJS
Sorry, something went wrong.
This is now dying for me, I think it's because it doesn't understand the babel code...
also running into issues here
yep
No branches or pull requests
Hello,
I'm trying to run uglifyify with babelify and get source maps, not sure what I'm doing wrong.
Here's what I'm running:
browserify \ -t [ babelify --presets [ es2015 react ] ] \ -g uglifyify index.js > bundle.js
I'm pretty sure you need to pass -d to browserify to get source maps, but when I do that my output isn't minified.
browserify -d \ -t [ babelify --presets [ es2015 react ] ] \ -g uglifyify index.js > bundle.js
Source maps and minification work with minifyify, but I'm seeing better compression if I run uglify.
This works:
browserify -d \ -t [ babelify --presets [ es2015 react ] ] \ -p [minifyify --map bundle.map.json --output bundle.map.json] index.js > bundle.js
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: