Skip to content

Commit

Permalink
css-loader upgrade and configure
Browse files Browse the repository at this point in the history
  • Loading branch information
danny007in committed May 14, 2024
1 parent 9e0456a commit 26e04ef
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 35 deletions.
53 changes: 21 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"copy-webpack-plugin": "^12.0.2",
"cross-env": "^7.0.3",
"css-loader": "^5.2.6",
"css-loader": "^7.1.1",
"css-minimizer-webpack-plugin": "^7.0.0",
"eslint": "^9.2.0",
"eslint-config-airbnb-base": "^15.0.0",
Expand Down
4 changes: 2 additions & 2 deletions webpack/rules/fonts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
test: /\.(eot|svg|ttf|woff|woff2)$/,
exclude : /(node_modules)/,
use : ['file-loader'],
};
type: 'asset/resource',
};

0 comments on commit 26e04ef

Please sign in to comment.