mirror of
https://github.com/rottenwheel/moner.ooo.git
synced 2025-01-09 19:17:24 -03:00
83a23fc66e
Switched to 'production' mode in webpack to enable optimizations. Integrated 'css-minimizer-webpack-plugin' and 'terser-webpack-plugin' for CSS and JS minification, respectively. Updated 'mini-css-extract-plugin' and added various dev dependencies to support new build processes. Adjusted output filenames and resolved dependencies to latest versions. These changes reduce the bundle size and improve load times, enhancing overall performance.
20 lines
454 B
JSON
20 lines
454 B
JSON
{
|
|
"scripts": {
|
|
"build": "webpack build --mode=production"
|
|
},
|
|
"devDependencies": {
|
|
"css-loader": "^7.1.2",
|
|
"css-minimizer-webpack-plugin": "^7.0.0",
|
|
"glob-all": "^3.3.1",
|
|
"mini-css-extract-plugin": "^2.9.1",
|
|
"purgecss": "^6.0.0",
|
|
"purgecss-webpack-plugin": "^6.0.0",
|
|
"terser-webpack-plugin": "^5.3.10"
|
|
},
|
|
"dependencies": {
|
|
"@popperjs/core": "^2.11.8",
|
|
"bootstrap": "^5.3.3",
|
|
"webpack": "^5.91.0",
|
|
"webpack-cli": "^5.1.4"
|
|
}
|
|
}
|