Skip to content

Commit

Permalink
fix webpack config for 5.53 and uppers
Browse files Browse the repository at this point in the history
  • Loading branch information
cecric committed Oct 22, 2021
1 parent f070f77 commit 00ca977
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"typedoc-plugin-merge-modules": "^3.0.2",
"typedoc-plugin-rename-defaults": "^0.4.0",
"typescript": "^4.4.2",
"webpack": "^5.51.1",
"webpack": "^5.59.1",
"webpack-cli": "^4.8.0",
"webpack-node-externals": "^3.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
__dirname: true
},
plugins: [
new webpack.IgnorePlugin(/\.(css|less)$/)
new webpack.IgnorePlugin({resourceRegExp: /\.(css|less)$/})
],
resolve: {
extensions: [ '.tsx', '.ts', '.js' ],
Expand Down

0 comments on commit 00ca977

Please sign in to comment.