Update change babel-preset-es2015 to babel-preset-env#404
Conversation
| "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.
babel-preset-es2015 is used in tests, so it needs to stay
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "presets": [ | |||
| ["latest", { "es2015": { "loose": true } }] | |||
There was a problem hiding this comment.
This is invalid, we use latest here no es2015
There was a problem hiding this comment.
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 16Continue 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 16Continue to review full report at Codecov.
|
|
@danez should be valid now! |
package.json
Outdated
| "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.
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.
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-es2015is usedWhat is the new behavior?
Changed to
babel-preset-envin the readme and.babelrcDoes this PR introduce a breaking change?
If this PR contains a breaking change, please describe the following...
Other information: