Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Commit

Permalink
upgrade webpack-config
Browse files Browse the repository at this point in the history
  • Loading branch information
waldronmatt committed Apr 10, 2021
1 parent 82256d8 commit 1853031
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
21 changes: 0 additions & 21 deletions scripts/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 1853031

Please sign in to comment.