-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Minifying fails with mapbox-gl #2520
Comments
Latest version of |
let me try to update |
We've been through this before. Not a bug in uglify. #2011 (comment)
facebook/create-react-app#2376 (comment) I also outlined how facebook/create-react-app#2376 (comment) It's just an unused remnant of a browser port of built-in node libraries originally made for browserify. This is the root cause of the problem. See also: webpack angular/angular-cli#5804 (comment) |
@alexlamsl still happens with 3.2.0 Could we leave this issue open until either mapbox-gl or uglify or webpack resolves this? I hope @jfirebaugh and @mourner could agree to fix it somehow (even upstream), as this is real issue. Disabling minification of mapbox-gl or disabling comparisons compression is not a real solution. |
Also referencing webpack/webpack#4414 and @sokra This might be relevant for you: mapbox/mapbox-gl-js#4359 (comment) |
@sheerun I'll have to close this since it is not an issue with |
Upgrading to mapbox-gl.js 0.48.0 fixes this error if anyone still experiences this. I got it suddenly after moving to angular 6.1 |
Bug report or feature request?
Bug report
ES5 or ES6+ input?
ES5
Uglify version (
uglifyjs -V
)2.8.29
EDIT: 3.2.0 as well
JavaScript input
and bundle with something like webpack
The
uglifyjs
CLI command executed orminify()
options used.I used one built with next.js
JavaScript output or error produced.
Uncaught ReferenceError: e is not defined
More details:
mapbox/mapbox-gl-js#4359
Mapbox closed their issue and said it needs to be fixed upstream...
The text was updated successfully, but these errors were encountered: