weboptimizer 4.0.41 → 4.0.43

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "4.0.41",
3
+ "version": "4.0.43",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -94,7 +94,7 @@
94
94
  "babel-loader": "^10.1.1",
95
95
  "babel-plugin-polyfill-corejs3": "^1.0.0",
96
96
  "babel-plugin-transform-rewrite-imports": "^1.5.4",
97
- "clientnode": "4.0.1473",
97
+ "clientnode": "4.0.1475",
98
98
  "core-js": "^3.49.0",
99
99
  "ejs": "^6.0.1",
100
100
  "exports-loader": "^5.0.0",
@@ -108,7 +108,7 @@
108
108
  "rimraf": "^6.1.3",
109
109
  "script-loader": "^0.7.2",
110
110
  "typescript": "^6.0.3",
111
- "webpack": "^5.109.0",
111
+ "webpack": "^5.109.1",
112
112
  "webpack-cli": "^7.2.1",
113
113
  "webpack-sources": "^3.5.1"
114
114
  },
@@ -122,7 +122,7 @@
122
122
  "@types/html-minifier": "^4.0.6",
123
123
  "@types/html-minifier-terser": "^7.0.2",
124
124
  "@types/imagemin": "^9.0.1",
125
- "@types/node": "^26.1.1",
125
+ "@types/node": "^26.1.2",
126
126
  "@types/postcss-import": "^14.0.3",
127
127
  "@types/postcss-url": "^10.0.4",
128
128
  "@types/webpack-env": "^1.18.8",
@@ -132,7 +132,7 @@
132
132
  "cssnano": "^8.0.2",
133
133
  "eslint": "^10.8.0",
134
134
  "eslint-config-google": "^0.14.0",
135
- "eslint-plugin-jsdoc": "^63.3.0",
135
+ "eslint-plugin-jsdoc": "^63.3.1",
136
136
  "favicons": "^7.3.1",
137
137
  "favicons-webpack-plugin": "^6.0.1",
138
138
  "globals": "^17.8.0",
@@ -704,6 +704,7 @@
704
704
  "minify": {
705
705
  "__evaluate__": "self.module.optimizer.htmlMinifier ? self.module.optimizer.htmlMinifier : false"
706
706
  },
707
+ "scriptLoading": "module",
707
708
  "template": {
708
709
  "filePath": {
709
710
  "__evaluate__": "`${filesystem.isFileSync(path.resolve(self.path.source.base, `${self.files.defaultHTML.filename}.ejs`)) ? path.resolve(self.path.source.base, `${self.files.defaultHTML.filename}.ejs`) : path.resolve(webOptimizerPath, 'index.html.ejs')}`"
@@ -769,7 +769,7 @@ export let webpackConfiguration = extend(true, {
769
769
  devServer: configuration.development.server,
770
770
  experiments: {
771
771
  futureDefaults: true,
772
- outputModule: configuration.givenCommandLineArguments[2] !== 'serve',
772
+ outputModule: true,
773
773
  /*
774
774
  "futureDefaults" would enable webpack's native css support
775
775
  which disables the configured "mini-css-extract-plugin"