mirror of
https://github.com/rottenwheel/moner.ooo.git
synced 2024-12-22 16:17:46 +00:00
Kumi
3a30c11ca6
Added `mini-css-extract-plugin`, `css-loader`, and `purgecss-webpack-plugin` to handle CSS extraction and purification in the Webpack build process. Removed the old `purgecss.config.js` as its functionality has been moved to the Webpack configuration. This change aims to streamline the build process and ensure unused CSS is effectively removed, optimizing the final output.
18 lines
372 B
JSON
18 lines
372 B
JSON
{
|
|
"scripts": {
|
|
"build": "webpack build --mode=production"
|
|
},
|
|
"devDependencies": {
|
|
"css-loader": "^7.1.2",
|
|
"glob-all": "^3.3.1",
|
|
"mini-css-extract-plugin": "^2.9.0",
|
|
"purgecss": "^6.0.0",
|
|
"purgecss-webpack-plugin": "^6.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@popperjs/core": "^2.11.8",
|
|
"bootstrap": "^5.3.3",
|
|
"webpack": "^5.91.0",
|
|
"webpack-cli": "^5.1.4"
|
|
}
|
|
}
|