Skip to content
New issue

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

uglifyjs output example not working anymore at asset_size.html #849

Open
marciofrayze opened this issue Jul 17, 2020 · 0 comments
Open

uglifyjs output example not working anymore at asset_size.html #849

marciofrayze opened this issue Jul 17, 2020 · 0 comments

Comments

@marciofrayze
Copy link

The page: https://guide.elm-lang.org/optimization/asset_size.html

Says:
uglifyjs --mangle --output=$min

This is not working anymore, because of the equals. Changed to:
uglifyjs --mangle --output $min

and now works fine.

uglify-js version: 3.10.0.

How to reproduce: just copy and paste the code example of the asset_size.html page. And without the change I get:
ERROR: invalid option --output=build/app.min.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant