From 18530314b0abeb8c4a968fcf72f7cd026295206a Mon Sep 17 00:00:00 2001 From: waldronmatt Date: Sat, 10 Apr 2021 10:54:20 -0400 Subject: [PATCH] upgrade webpack-config --- package.json | 2 +- scripts/webpack.common.js | 21 --------------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/package.json b/package.json index 91e43a3..1033695 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "@typescript-eslint/eslint-plugin": "^4.4.1", "@typescript-eslint/parser": "^4.4.1", "@waldronmatt/prettier-config": "^1.0.3", - "@waldronmatt/webpack-config": "^1.5.0", + "@waldronmatt/webpack-config": "^1.6.2", "babel-jest": "^26.5.2", "eslint": "^7.11.0", "eslint-config-airbnb-base": "^14.2.0", diff --git a/scripts/webpack.common.js b/scripts/webpack.common.js index 63c9e89..4de01b4 100644 --- a/scripts/webpack.common.js +++ b/scripts/webpack.common.js @@ -39,27 +39,6 @@ const commonConfig = isProduction => { // output directory as an absolute path. path: path.join(__dirname, '../dist'), }, - module: { - rules: [ - { - test: /\.ts$/, - exclude: /node_modules/, - use: [ - { - loader: 'babel-loader', - }, - { - loader: 'ts-loader', - options: { - // improve the build time - transpileOnly: true, - experimentalWatchApi: true, - }, - }, - ], - }, - ], - }, plugins: [ new PreloadWebpackPlugin({ rel: 'preload',