-
Notifications
You must be signed in to change notification settings - Fork 39
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
Webworkify + Uglify-js + Require.js not getting along #29
Comments
- browserify/webworkify#29 - offline was broken in plotly.py 1.12.6 where plotly.js was updated to 1.16.4
- browserify/webworkify#29 - offline was broken in plotly.py 1.12.6 where plotly.js was updated to 1.16.4
I'm really puzzled by this. Why would adding spaces around |
This one is definitively strange. It may be a bug with Require.js itself? |
- which is basically what plotly/plotly.py#545 implemented - see browserify/webworkify#29 for more info
I get the same Require.js error using off |
This commit 31c27ef appear to fix this issue. |
@etpinard but why? |
Since this seems like a require+uglify bug, should we close this issue and wait for upstream fixes? |
Hi, I'm trying to load up a browserify
--standalone
bundle that includeswebworkify
that been minified withuglifyjs
using the--mangle
and--compress
options in Require.js.Problem
Require.js fails to load the bundle:
Reproducible example
See https://gist.github.com/etpinard/8ec2c29210d5adee049d54bb427bbbe6
Observations
This line seems to be causing the issue when compressed by
uglifyjs
Replacing
by
and running browserify and uglifyjs without the
--compress
option is enough to replicate the problem listed above.The text was updated successfully, but these errors were encountered: