weboptimizer 4.0.28 → 4.0.29

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.
Files changed (1) hide show
  1. package/package.json +9 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "4.0.28",
3
+ "version": "4.0.29",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -1067,6 +1067,10 @@
1067
1067
  },
1068
1068
  "loader": []
1069
1069
  },
1070
+ "runtimeChunk": {
1071
+ "#": "We need to include a single shared runtime chunk into the bundle to avoid duplication of runtime code.",
1072
+ "__evaluate__": "self.givenCommandLineArguments[2] === 'serve' ? 'single' : false"
1073
+ },
1070
1074
  "terser": {
1071
1075
  "terserOptions": {
1072
1076
  "compress": {
@@ -1507,6 +1511,10 @@
1507
1511
  },
1508
1512
  "module": {
1509
1513
  "optimizer": {
1514
+ "runtimeChunk": {
1515
+ "#": "We need to include a single shared runtime chunk into the bundle to avoid duplication of runtime code.",
1516
+ "__evaluate__": "self.givenCommandLineArguments[2] === 'serve' ? 'single' : false"
1517
+ },
1510
1518
  "terser": {
1511
1519
  "terserOptions": {
1512
1520
  "compress": {