mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Upgrade Babel to 7.0.0-rc.1 (major) (#4937)
Fixes #4691 Fixes #4614 This PR gives path to https://github.com/zeit/next-plugins/pull/242 I did not add or remove `^` near dependency versions in package.json files. However, I don't exclude that some changes can be made given that rc is more stable than beta.
This commit is contained in:
parent
0f4e9feafa
commit
9319c158a5
|
@ -39,7 +39,6 @@ module.exports = (context, opts = {}) => ({
|
|||
require('@babel/plugin-proposal-object-rest-spread'),
|
||||
[require('@babel/plugin-transform-runtime'), opts['transform-runtime'] || {
|
||||
helpers: false,
|
||||
polyfill: false,
|
||||
regenerator: true
|
||||
}],
|
||||
[require('styled-jsx/babel'), styledJsxOptions(opts['styled-jsx'])],
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"start": "NODE_ENV=production node .next/production-server/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.0.0-beta.48",
|
||||
"@babel/core": "^7.0.0-rc.1",
|
||||
"@zeit/next-typescript": "1.1.0",
|
||||
"babel-loader": "^7.1.4",
|
||||
"next": "latest",
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
},
|
||||
"transform-runtime": {
|
||||
"regenerator": false,
|
||||
"useBuiltIns": true,
|
||||
"polyfill": false
|
||||
"useBuiltIns": true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -16,6 +16,6 @@
|
|||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@babel/plugin-proposal-do-expressions": "7.0.0-beta.56"
|
||||
"@babel/plugin-proposal-do-expressions": "7.0.0-rc.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
"react-dom": "^16.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.0.0-beta.42",
|
||||
"@babel/cli": "^7.0.0-rc.1",
|
||||
"cpx": "1.5.0",
|
||||
"firebase-tools": "3.18.4",
|
||||
"prettier": "1.12.1",
|
||||
|
|
22
package.json
22
package.json
|
@ -58,16 +58,16 @@
|
|||
"bin/*": "standard"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "7.0.0-beta.42",
|
||||
"@babel/plugin-proposal-class-properties": "7.0.0-beta.42",
|
||||
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.42",
|
||||
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.42",
|
||||
"@babel/plugin-transform-react-jsx-source": "7.0.0-beta.42",
|
||||
"@babel/plugin-transform-runtime": "7.0.0-beta.42",
|
||||
"@babel/preset-env": "7.0.0-beta.42",
|
||||
"@babel/preset-react": "7.0.0-beta.42",
|
||||
"@babel/runtime": "7.0.0-beta.42",
|
||||
"@babel/template": "7.0.0-beta.42",
|
||||
"@babel/core": "7.0.0-rc.1",
|
||||
"@babel/plugin-proposal-class-properties": "7.0.0-rc.1",
|
||||
"@babel/plugin-proposal-object-rest-spread": "7.0.0-rc.1",
|
||||
"@babel/plugin-syntax-dynamic-import": "7.0.0-rc.1",
|
||||
"@babel/plugin-transform-react-jsx-source": "7.0.0-rc.1",
|
||||
"@babel/plugin-transform-runtime": "7.0.0-rc.1",
|
||||
"@babel/preset-env": "7.0.0-rc.1",
|
||||
"@babel/preset-react": "7.0.0-rc.1",
|
||||
"@babel/runtime": "7.0.0-rc.1",
|
||||
"@babel/template": "7.0.0-rc.1",
|
||||
"ansi-html": "0.0.7",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-loader": "8.0.0-beta.3",
|
||||
|
@ -112,7 +112,7 @@
|
|||
"write-file-webpack-plugin": "4.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/preset-flow": "7.0.0-beta.43",
|
||||
"@babel/preset-flow": "7.0.0-rc.1",
|
||||
"@taskr/babel": "1.1.0-next.1",
|
||||
"@taskr/clear": "1.1.0",
|
||||
"@taskr/esnext": "1.1.0",
|
||||
|
|
Loading…
Reference in a new issue