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

Don't use es2015 preset for babel #36

Closed
tracker1 opened this issue Mar 19, 2018 · 1 comment
Closed

Don't use es2015 preset for babel #36

tracker1 opened this issue Mar 19, 2018 · 1 comment

Comments

@tracker1
Copy link

You should use the env preset, and configure it for the node and chrome versions matching your electron dist... most of the es2015 transforms are not needed in the latest versions... This will reduce your JS output by at least 1/3 and probably closer to half.

@Fohlen
Copy link
Contributor

Fohlen commented Mar 19, 2018

@tracker1 thanks for noting! Maybe you would like to make this a good first issue and submit a PR for it 🥂

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

No branches or pull requests

2 participants