-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Improve compress_attributes browserify transform and fixup unexpected characters in bundles #5426
Conversation
At first the publish test passed. Now it fails. |
Publish tests pass on |
what's the relationship between the d3-geo PR and these weird characters? |
@nicolaskruchten d3's geo functions are where these weird characters come from, it uses greek letters in its source code for angles in the projections. d3v4 converts all its source code to ASCII:
It seems like this PR, while a very good hypothesis, doesn't solve whatever the underlying problem is. Let me take a look at #5112 again, that seems to me a more promising approach to get rid of this randomly-recurring issue permanently. |
This reverts commit 1fc1c03.
Thanks @alexcjohnson for reviewing #5112. Returning To conclude this PR
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, we can do it this way for now if it lets us avoid the error.
FWIW I think the reason the module.exports = require('./register_extra')(Plotly);
bothers me is that it makes it unclear what exactly you're exporting. A specific consequence is it may be unclear to people making their own bundles what to do if they don't want these extras. But anyway I suspect we'll be toggling that commit until we get a real solution 😅
💃
Fixes #5382.
@plotly/plotly_js