weboptimizer 4.0.77 → 4.0.79
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 +13 -12
- package/webpackConfigurator.js +1 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.79",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"babel-loader": "^10.1.1",
|
|
107
107
|
"babel-plugin-polyfill-corejs3": "^1.0.0",
|
|
108
108
|
"babel-plugin-transform-rewrite-imports": "^1.5.4",
|
|
109
|
-
"clientnode": "4.0.
|
|
109
|
+
"clientnode": "4.0.1512",
|
|
110
110
|
"core-js": "^3.50.0",
|
|
111
111
|
"ejs": "^6.0.1",
|
|
112
112
|
"exports-loader": "^5.0.0",
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"rimraf": "^6.1.3",
|
|
121
121
|
"script-loader": "^0.7.2",
|
|
122
122
|
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
123
|
-
"webpack": "
|
|
123
|
+
"webpack": "5.110.3",
|
|
124
124
|
"webpack-cli": "^7.2.3",
|
|
125
125
|
"webpack-sources": "^3.5.1"
|
|
126
126
|
},
|
|
@@ -134,14 +134,14 @@
|
|
|
134
134
|
"@types/html-minifier": "^4.0.6",
|
|
135
135
|
"@types/html-minifier-terser": "^7.0.2",
|
|
136
136
|
"@types/imagemin": "^9.0.1",
|
|
137
|
-
"@types/node": "^26.
|
|
137
|
+
"@types/node": "^26.5.0",
|
|
138
138
|
"@types/postcss-import": "^14.0.3",
|
|
139
139
|
"@types/postcss-url": "^10.0.4",
|
|
140
140
|
"@types/webpack-env": "^1.18.8",
|
|
141
141
|
"@types/webpack-sources": "^3.2.3",
|
|
142
142
|
"@typescript-eslint/parser": "^8.69.0",
|
|
143
143
|
"css-loader": "^7.1.5",
|
|
144
|
-
"cssnano": "^9.0.
|
|
144
|
+
"cssnano": "^9.0.3",
|
|
145
145
|
"eslint": "^10.10.0",
|
|
146
146
|
"eslint-config-google": "^0.14.0",
|
|
147
147
|
"eslint-plugin-jsdoc": "^64.3.6",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"postcss-fontpath": "^1.0.0",
|
|
159
159
|
"postcss-import": "^17.0.0",
|
|
160
160
|
"postcss-loader": "^8.2.1",
|
|
161
|
-
"postcss-preset-env": "^11.5.
|
|
161
|
+
"postcss-preset-env": "^11.5.2",
|
|
162
162
|
"postcss-sprites": "^4.2.1",
|
|
163
163
|
"postcss-url": "^10.1.4",
|
|
164
164
|
"shx": "^0.4.0",
|
|
@@ -653,12 +653,13 @@
|
|
|
653
653
|
},
|
|
654
654
|
"extensions": {
|
|
655
655
|
"file": {
|
|
656
|
+
"#": "NOTE: Sources have to win over already emitted build artifacts since a build output may share its directory with its sources. Otherwise a rebuild silently bundles the previous build result instead of the current sources.",
|
|
656
657
|
"alias": {
|
|
657
658
|
".js": [
|
|
658
|
-
".ejs",
|
|
659
|
-
".js",
|
|
660
659
|
".ts",
|
|
661
660
|
".tsx",
|
|
661
|
+
".ejs",
|
|
662
|
+
".js",
|
|
662
663
|
".jsx"
|
|
663
664
|
]
|
|
664
665
|
},
|
|
@@ -666,13 +667,13 @@
|
|
|
666
667
|
"__evaluate__": "self.generic.isWeb ? self.extensions.file.internal : ['.compiled.js', '.cjs', '.js', '.json', '.mjs']"
|
|
667
668
|
},
|
|
668
669
|
"internal": [
|
|
669
|
-
".
|
|
670
|
+
".ts",
|
|
671
|
+
".tsx",
|
|
670
672
|
".cjs",
|
|
671
673
|
".mjs",
|
|
672
674
|
".js",
|
|
673
675
|
".jsx",
|
|
674
|
-
".
|
|
675
|
-
".tsx",
|
|
676
|
+
".compiled.js",
|
|
676
677
|
".json",
|
|
677
678
|
".sass",
|
|
678
679
|
".scss",
|
|
@@ -885,7 +886,7 @@
|
|
|
885
886
|
},
|
|
886
887
|
"externalLibrary": {
|
|
887
888
|
"dynamic": false,
|
|
888
|
-
"normal":
|
|
889
|
+
"normal": false,
|
|
889
890
|
"special": true
|
|
890
891
|
},
|
|
891
892
|
"javaScript": {
|
package/webpackConfigurator.js
CHANGED
|
@@ -913,12 +913,7 @@ export let webpackConfiguration = extend(true, {
|
|
|
913
913
|
module: {
|
|
914
914
|
parser: {
|
|
915
915
|
javascript: {
|
|
916
|
-
dynamicImportMode: configuration.inPlace.externalLibrary.dynamic ? 'eager' : 'lazy'
|
|
917
|
-
/*
|
|
918
|
-
Avoids to overwrite "import.meta.url" with a static
|
|
919
|
-
build time url.
|
|
920
|
-
*/
|
|
921
|
-
importMeta: false
|
|
916
|
+
dynamicImportMode: configuration.inPlace.externalLibrary.dynamic ? 'eager' : 'lazy'
|
|
922
917
|
}
|
|
923
918
|
},
|
|
924
919
|
rules:
|