'Use' for babel-loader and removed unused deps.

This commit is contained in:
2020-11-24 23:44:35 +01:00
parent 81ce466318
commit cf06140f60
2 changed files with 1 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ const webpackConfig = function(isDev) {
}, },
{ {
test: /\.js$/, test: /\.js$/,
loader: "babel-loader", use: [ "babel-loader" ],
include: [helpers.root("src")] include: [helpers.root("src")]
}, },
{ {

View File

@@ -44,11 +44,6 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "~7.12", "@babel/core": "~7.12",
"@babel/plugin-proposal-class-properties": "~7.3",
"@babel/plugin-proposal-decorators": "~7.3",
"@babel/plugin-proposal-json-strings": "~7.2",
"@babel/plugin-syntax-dynamic-import": "~7.2",
"@babel/plugin-syntax-import-meta": "~7.2",
"@babel/preset-env": "~7.12", "@babel/preset-env": "~7.12",
"babel-loader": "~8.0", "babel-loader": "~8.0",
"compression-webpack-plugin": "^3.1.0", "compression-webpack-plugin": "^3.1.0",