-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
0.2.0 breaks uglifyjs #30
Comments
+1 for this. I'm seeing it too. |
+1
|
Thank you all for the help! Package is already updated and the error should disappear. |
Sadly, that's not fixed it for me. Same error as above;
|
@jezmck please add some information about your environment so I can reproduce this bug itself. |
@wherefour, did the update fix it for you? I'm running MacOS X. (apologies if this doesn't give you what you need) |
Yes, it did. Thanks by the way @freearhey. I'm using it in Rails 5.1 with Webpacker and Yarn, though, so you probably have a different build process. There is a way I can force compilation locally as if it is a "production" environment and that's how I tracked the failed build down to v0.2.0, so maybe you can try that on your end to help diagnose....? |
Hmm, I was curious so tried to compile locally again and looks like it does fail that way:
if I roll back to v1.9.0 it all compiles fine..... |
v.0.1.9 I meant. lol |
Not sure if this helps, but it looks like there is an open issue with webpacker 3.0.0 and Heroku: rails/webpacker#739 If I specify v0.1.9 in package.json, it compiles locally. If I change the version to v0.2.0 or v0.2.1, it fails with the error. Here's the package.json that DOES compile OK:
|
Didn't fix it for me. Here's how to replicate it: |
Fail for me as well: |
Fail for me too with the latest version. But fine with v.0.1.9. |
@gigaprakosa stated, Current version: ERROR in static/js/vendor.efd6b4056f88cc059df7.js from UglifyJs Rolled back to 0.19 good to go |
ERROR in static/js/vendor.ec67e09dea199da20c96.js from UglifyJs
Unexpected token: punc (() [./node_modules/vue2-filters/dist/vue2-filters.js:477,0][static/js/vendor.ec67e09dea199da20c96.js:49045,9]
The text was updated successfully, but these errors were encountered: