weboptimizer 2.0.1567 → 2.0.1568
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/webpackConfigurator.js +4 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1568",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -120,19 +120,19 @@
|
|
|
120
120
|
"devDependencies": {
|
|
121
121
|
"@babel/cli": "^7.26.4",
|
|
122
122
|
"@babel/eslint-parser": "^7.26.8",
|
|
123
|
-
"@stylistic/eslint-plugin": "^4.
|
|
124
|
-
"@stylistic/eslint-plugin-ts": "^4.
|
|
123
|
+
"@stylistic/eslint-plugin": "^4.2.0",
|
|
124
|
+
"@stylistic/eslint-plugin-ts": "^4.2.0",
|
|
125
125
|
"@types/ejs": "^3.1.5",
|
|
126
126
|
"@types/eslint": "^9.6.1",
|
|
127
127
|
"@types/html-minifier": "^4.0.5",
|
|
128
128
|
"@types/html-minifier-terser": "^7.0.2",
|
|
129
129
|
"@types/imagemin": "^9.0.1",
|
|
130
|
-
"@types/node": "^22.13.
|
|
130
|
+
"@types/node": "^22.13.9",
|
|
131
131
|
"@types/postcss-import": "^14.0.3",
|
|
132
132
|
"@types/postcss-url": "^10.0.4",
|
|
133
133
|
"@types/webpack-env": "^1.18.8",
|
|
134
134
|
"@types/webpack-sources": "^3.2.3",
|
|
135
|
-
"@typescript-eslint/parser": "^8.
|
|
135
|
+
"@typescript-eslint/parser": "^8.26.0",
|
|
136
136
|
"css-loader": "^7.1.2",
|
|
137
137
|
"cssnano": "^7.0.6",
|
|
138
138
|
"documentation-website": "^1.0.345",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"stylelint": "^16.15.0",
|
|
161
161
|
"stylelint-config-standard": "^37.0.0",
|
|
162
162
|
"stylelint-config-standard-scss": "^14.0.0",
|
|
163
|
-
"typescript-eslint": "^8.
|
|
163
|
+
"typescript-eslint": "^8.26.0",
|
|
164
164
|
"typescript-plugin-css-modules": "^5.1.0",
|
|
165
165
|
"workbox-webpack-plugin": "^7.3.0"
|
|
166
166
|
},
|
package/webpackConfigurator.js
CHANGED
|
@@ -1027,16 +1027,10 @@ try {
|
|
|
1027
1027
|
}
|
|
1028
1028
|
if (!_module.optimizer.minimizer) {
|
|
1029
1029
|
_module.optimizer.minimizer = [];
|
|
1030
|
-
if (plugins.Terser)
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
*/
|
|
1035
|
-
_module.optimizer.minimizer.push(new plugins.Terser({
|
|
1036
|
-
exclude: /\\.html(?: \\.js)?(?: \\?.*)?$/,
|
|
1037
|
-
extractComments: false,
|
|
1038
|
-
parallel: true
|
|
1039
|
-
}));
|
|
1030
|
+
if (plugins.Terser) _module.optimizer.minimizer.push(new plugins.Terser({
|
|
1031
|
+
extractComments: false,
|
|
1032
|
+
parallel: true
|
|
1033
|
+
}));
|
|
1040
1034
|
if (plugins.ImageMinimizer) _module.optimizer.minimizer.push(new plugins.ImageMinimizer((0, _clientnode.extend)(true, {
|
|
1041
1035
|
minimizer: {
|
|
1042
1036
|
implementation: plugins.ImageMinimizer.imageminMinify
|