-
-
Notifications
You must be signed in to change notification settings - Fork 448
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 change babel-preset-es2015 to babel-preset-env #404
Conversation
package.json
Outdated
@@ -22,7 +22,7 @@ | |||
"babel-core": "^6.0.0", | |||
"babel-eslint": "^7.1.0", | |||
"babel-plugin-istanbul": "^3.0.0", | |||
"babel-preset-es2015": "^6.0.0", |
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.
babel-preset-es2015 is used in tests, so it needs to stay
.babelrc
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"presets": [ | |||
["latest", { "es2015": { "loose": true } }] |
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.
This is invalid, we use latest here no es2015
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.
whoops, of course - thanks!
Codecov Report
@@ Coverage Diff @@
## master #404 +/- ##
=======================================
Coverage 83.03% 83.03%
=======================================
Files 6 6
Lines 165 165
Branches 38 38
=======================================
Hits 137 137
Misses 12 12
Partials 16 16 Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #404 +/- ##
=======================================
Coverage 83.03% 83.03%
=======================================
Files 6 6
Lines 165 165
Branches 38 38
=======================================
Hits 137 137
Misses 12 12
Partials 16 16 Continue to review full report at Codecov.
|
@danez should be valid now! |
package.json
Outdated
@@ -22,7 +22,8 @@ | |||
"babel-core": "^6.0.0", | |||
"babel-eslint": "^7.1.0", | |||
"babel-plugin-istanbul": "^3.0.0", | |||
"babel-preset-es2015": "^6.0.0", | |||
"babel-preset-env": "^1.1.11", |
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.
We don't need to add this useless we're going to use it on babel-loader itself
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.
oh true, I forgot to remove that! Thanks.
I'm okay with it as is, but if you want you could replace |
Please Read the CONTRIBUTING Guidelines
In particular the portion on Commit Message Formatting
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
babel-preset-es2015
is usedWhat is the new behavior?
Changed to
babel-preset-env
in the readme and.babelrc
Does this PR introduce a breaking change?
If this PR contains a breaking change, please describe the following...
Other information: