-
Notifications
You must be signed in to change notification settings - Fork 186
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
Build fails with ERROR: invalid option --output=assets/repl.js
when using uglify-js >= 3.10.0
#251
Comments
hey @lettenj61 I have found the same issue on my way, and you are right the uglify CLI API have changed at version 3+ as you can see here and as you have suggested, this is the fix for the version simply removing the '=' sign |
* This patch was originally written for `elm-jp/guide` by @negiboudu san
@rafaelassumpcao No, I was too lazy to create PR and just posted my workaround 😉 I must mention that the PR is based on the patch @negiboudu san compiled for our Japanese translation (repo). |
I recently merged #258 which should fix this! |
Please fill in the following information:
Hello,
Recently I've encountered an error after I cloned this repository and run
build.sh
at first time. Here is the outcome:I believe this was caused by recent CLI parser update in uglfy-js, which make "=" character get rejected in
--output
option. As a workaround, I could fix this by specifying previous version explicitly inrepl/build.sh
:Or, simply replace
--output=foo
with--output foo
.And these are short tests I ran to check uglify-js behaviour has been changed:
I was wondering if you could take a look.
The text was updated successfully, but these errors were encountered: