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

Switch to babel-preset-env #260

Closed
luboskmetko opened this issue Sep 20, 2017 · 3 comments
Closed

Switch to babel-preset-env #260

luboskmetko opened this issue Sep 20, 2017 · 3 comments

Comments

@luboskmetko
Copy link
Member

https://github.com/babel/babel-preset-env

This is recommend by Babel itself during installation of our current babel-preset-es2015

@jakub300
Copy link
Collaborator

I spent some time testing it today and I recommend waiting until babel v7 is released. Reasons:

  • we will not benefit from browsers list based transforms anyway because we need them all to be compatible with uglifyjs,
  • in v7 babel-preset-env will make it possible to share browserslist config with autoprefixer, they must be defined separately now,
  • in v7 we may use automatic polyfilling for things like Promises, Array.from etc., that is not possible in current version.

@luboskmetko
Copy link
Member Author

@jakub300 babel v7 is out, do you think you would find time to work on this?

@jakub300
Copy link
Collaborator

jakub300 commented Sep 26, 2018

Hey, unfortunately not in the near future. Update to eslint-config-chisel was to match parser version used by eslint and chisel. I have WiP branch with update in the office. I will push it tomorrow.

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

No branches or pull requests

2 participants