From cf06140f60ecba9b8ec728ab32359535dc4e0fc7 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Tue, 24 Nov 2020 23:44:35 +0100 Subject: [PATCH] 'Use' for babel-loader and removed unused deps. --- config/webpack.config.common.js | 2 +- package.json | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/config/webpack.config.common.js b/config/webpack.config.common.js index dcdc85b..b9aec37 100644 --- a/config/webpack.config.common.js +++ b/config/webpack.config.common.js @@ -36,7 +36,7 @@ const webpackConfig = function(isDev) { }, { test: /\.js$/, - loader: "babel-loader", + use: [ "babel-loader" ], include: [helpers.root("src")] }, { diff --git a/package.json b/package.json index 20c392e..d58f078 100644 --- a/package.json +++ b/package.json @@ -44,11 +44,6 @@ }, "devDependencies": { "@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-loader": "~8.0", "compression-webpack-plugin": "^3.1.0",