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

Update to babel-preset-env #372

Merged
merged 1 commit into from
May 28, 2018
Merged

Conversation

lutovich
Copy link
Contributor

Previously used presets 'es2015' and 'stage-3' are now deprecated in favour of 'env'. This resulted in a build warning:

npm WARN deprecated babel-preset-es2015@6.24.1: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!

New preset makes it possible to specify target browsers and NodeJS versions. Only needed code transformations and polyfills are then applied. Right now browsers and NodeJS versions are not configured so this preset behaves the same was as the previous two.

Also updated versions of babel-related dependencies.

For more details about the 'env' preset see:
http://babeljs.io/env
https://github.com/babel/babel/tree/master/packages/babel-preset-env

Previously used presets 'es2015' and 'stage-3' are now deprecated in
favour of 'env'. This resulted in a build warning. New preset makes it
possible to specify target browsers and NodeJS versions. Only needed
code transformations and polyfills are then applied. Right now browsers
and NodeJS versions are not configured so this preset behaves the same
was as the previous two.

Also updated versions of babel-related dependencies.

For more details about the 'env' preset see:
http://babeljs.io/env
https://github.com/babel/babel/tree/master/packages/babel-preset-env
@lutovich lutovich requested a review from zhenlineo May 16, 2018 16:58
@zhenlineo zhenlineo merged commit 6f0e8bb into neo4j:1.7 May 28, 2018
@lutovich lutovich deleted the 1.7-babel-preset-env branch May 28, 2018 12:20
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

Successfully merging this pull request may close these issues.

2 participants