-
-
Notifications
You must be signed in to change notification settings - Fork 743
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
minify failure with latest versions of uglify-js, uglify-es and terser #291
Comments
I think there is a simple workaround for this issue by simply moving out variable |
Does uglify have an issue tracker with this for those of us who would like to follow it? For now I'm having to force tether version 1.4.4 in my projects and would like to know when I can remove that restriction. |
I think this is it: |
This bug was fixed in Terser. |
Could you share which PR/version of terser that fixes it? @kzc |
These two patches fixed it: terser/terser#152 Everyone should be using |
Thanks! |
This should now be fixed in |
There's a common bug in the 3.x versions of the uglify-derived minifiers (uglify-js, uglify-es and terser) that prevents javascript bundlers from working with
tether@1.4.5
:ERROR: Cannot read property '_walk' of null
terser/terser#120 (comment)
NOTE: There's nothing wrong with Tether's code! This is solely an uglify/terser problem.
You can see the bug if you apply this patch and run
npm install && npm run check-dist
:Would you consider applying the following patch so that the uglify-derived minifiers can avoid this error? Hopefully this would be a temporary measure until these minifiers can be fixed.
The text was updated successfully, but these errors were encountered: