refactor: Add CSS extraction for production build
- Add `mini-css-extract-plugin` to `devDependencies` - Optimize production builds with `MiniCssExtractPlugin` - Improve CSS webpack rules for production and development builds
This commit is contained in:
parent
cbfae0ae34
commit
447e72b16e
7 changed files with 82 additions and 24 deletions
|
@ -16,6 +16,7 @@
|
|||
"cssnano": "^6.0.1",
|
||||
"eslint": "^8.41.0",
|
||||
"eslint-webpack-plugin": "^4.0.1",
|
||||
"mini-css-extract-plugin": "^2.7.6",
|
||||
"postcss": "^8.4.24",
|
||||
"postcss-combine-duplicated-selectors": "^10.0.2",
|
||||
"postcss-combine-media-query": "^1.0.1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue