Обновлен babel до версии 7
This commit is contained in:
parent
6539e9bd8d
commit
d35385da6b
2178
npm-shrinkwrap.json
generated
2178
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -5,12 +5,12 @@
|
||||
"version": "1.0.0",
|
||||
"description": "Homepage",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.0.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||
"@babel/plugin-transform-runtime": "^7.0.0",
|
||||
"@babel/preset-env": "^7.0.0",
|
||||
"autoprefixer": "^9.6.0",
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-loader": "^7.1.5",
|
||||
"babel-plugin-transform-class-properties": "^6.24.1",
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"babel-loader": "^8.0.0",
|
||||
"css-loader": "^2.1.1",
|
||||
"glob": "^7.1.4",
|
||||
"mini-css-extract-plugin": "^0.6.0",
|
||||
|
@ -42,8 +42,8 @@ module.exports = (env = {}) => {
|
||||
const BABEL_LOADER = {
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
presets: ['babel-preset-env'],
|
||||
plugins: ['transform-class-properties'],
|
||||
presets: ['@babel/preset-env'],
|
||||
plugins: ['@babel/plugin-proposal-class-properties'],
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user