-
-
Notifications
You must be signed in to change notification settings - Fork 425
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
feat: upgrade to Babel v7 #162
Conversation
package.json
Outdated
"@babel/core": "^7.0.0", | ||
"@babel/node": "^7.0.0", | ||
"@babel/plugin-proposal-class-properties": "^7.0.0", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.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.
You don't need object-rest-spread plugin with env preset anymore. It's builtin as part of the spec.
packages/rollup/package.json
Outdated
"@babel/preset-env": "^7.0.0-rc.1", | ||
"@babel/preset-react": "^7.0.0-rc.1", | ||
"@babel/core": "^7.0.0", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.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.
same here
packages/webpack/package.json
Outdated
"@babel/preset-env": "^7.0.0-rc.1", | ||
"@babel/preset-react": "^7.0.0-rc.1", | ||
"@babel/core": "^7.0.0", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.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.
and here
Codecov Report
@@ Coverage Diff @@
## master #162 +/- ##
==========================================
- Coverage 88.76% 88.73% -0.03%
==========================================
Files 26 26
Lines 436 435 -1
Branches 83 79 -4
==========================================
- Hits 387 386 -1
- Misses 45 47 +2
+ Partials 4 2 -2
Continue to review full report at Codecov.
|
Why package-lock.json is in the repo? |
"@babel/plugin-proposal-class-properties", | ||
"@babel/plugin-proposal-object-rest-spread" | ||
] | ||
"plugins": ["@babel/plugin-proposal-class-properties"] |
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.
Can be in loose mode too
@TrySound thanks! |
No description provided.