Skip to content
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

Production build includes new ECMAScript features. #52

Closed
SokichiFujita opened this issue Dec 19, 2018 · 4 comments
Closed

Production build includes new ECMAScript features. #52

SokichiFujita opened this issue Dec 19, 2018 · 4 comments

Comments

@SokichiFujita
Copy link

SokichiFujita commented Dec 19, 2018

Because of d3-delaunay uses a lot of ECMAScript new and experimental feature (e.g. class, exponential operator) for production build, it causes issues for production use.

Do you have a plan to use transpiler like babel to build a production module?

@mbostock
Copy link
Member

I do not, sorry!

@SokichiFujita
Copy link
Author

Got it. Thanks. I consider another plan.

@echap
Copy link

echap commented May 22, 2019

Hello,
I know you do not intend to transpile this plugin, but I just want to add a thumb up on the interest of doing it. Indeed this makes this awesome tool unavailable using react native // common js based stuff.

@mourner
Copy link
Contributor

mourner commented May 22, 2019

Note that it also depends on generators, so transpiling it would probably make a part of the functionality a lot slower.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants