weboptimizer 4.0.52 → 4.0.54
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 +144 -146
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weboptimizer",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.54",
|
|
4
4
|
"description": "A generic web optimizer, (module) bundler and development environment.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webpack",
|
|
@@ -20,10 +20,22 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "CC-BY-3.0",
|
|
22
22
|
"author": {
|
|
23
|
-
"name": "Torben Sickert",
|
|
24
23
|
"email": "info@torben.website",
|
|
24
|
+
"name": "Torben Sickert",
|
|
25
25
|
"url": "https://torben.website"
|
|
26
26
|
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/thaibault/weboptimizer.git"
|
|
30
|
+
},
|
|
31
|
+
"type": "module",
|
|
32
|
+
"exports": {
|
|
33
|
+
".": "/.index.js",
|
|
34
|
+
"./browser": "./browser.js",
|
|
35
|
+
"./ejsLoader": "./ejsLoader.js",
|
|
36
|
+
"./type": "./type.js"
|
|
37
|
+
},
|
|
38
|
+
"bin": "index.js",
|
|
27
39
|
"files": [
|
|
28
40
|
"browser.d.ts",
|
|
29
41
|
"browser.js",
|
|
@@ -56,16 +68,12 @@
|
|
|
56
68
|
"webpackConfigurator.d.ts",
|
|
57
69
|
"webpackConfigurator.js"
|
|
58
70
|
],
|
|
59
|
-
"
|
|
60
|
-
"repository": {
|
|
61
|
-
"type": "git",
|
|
62
|
-
"url": "https://github.com/thaibault/weboptimizer.git"
|
|
63
|
-
},
|
|
71
|
+
"sideEffects": true,
|
|
64
72
|
"scripts": {
|
|
65
73
|
"build": "yarn build:types; yarn build:lint; yarn build:plain",
|
|
74
|
+
"build:copy-test-artefacts": "cd test/simple && shx touch yarn.lock && rimraf node_modules && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install; cd ../../ && cd test/scss && shx touch yarn.lock && rimraf node_modules && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install; cd ../../ && rimraf node_modules/weboptimizer test/simple/node_modules/weboptimizer test/scss/node_modules/weboptimizer && shx mkdir -p node_modules/weboptimizer test/simple/node_modules/weboptimizer test/scss/node_modules/weboptimizer && copyCommand='shx cp -r plugins *.ts *.js *.json *.ejs' && $copyCommand node_modules/weboptimizer/ && $copyCommand test/simple/node_modules/weboptimizer/ && $copyCommand test/scss/node_modules/weboptimizer/",
|
|
66
75
|
"build:lint": " babel --extensions '.ts' --out-file eslint.config.js eslint.config.ts",
|
|
67
76
|
"build:plain": "command=\"babel --extensions '.ts' --out-file\" && $command browser.js browser.ts && $command configurator.js configurator.ts && $command ejsLoader.js ejsLoader.ts && $command helper.js helper.ts && $command index.js index.ts && $command jestSetup.js jestSetup.ts && $command plugins/HTMLTransformation.js plugins/HTMLTransformation.ts && $command plugins/InPlaceAssetsIntoHTML.js plugins/InPlaceAssetsIntoHTML.ts && $command stylelintConfigurator.js stylelintConfigurator.ts && $command type.js type.ts && $command webpackConfigurator.js webpackConfigurator.ts && shx chmod +x index.js && shx sed -i 's/(#!\\\\/usr\\\\/bin\\\\/env )babel-(node)/$1$2/' index.js 1>/dev/null",
|
|
68
|
-
"build:copy-test-artefacts": "cd test/simple && shx touch yarn.lock && rimraf node_modules && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install; cd ../../ && cd test/scss && shx touch yarn.lock && rimraf node_modules && YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install; cd ../../ && rimraf node_modules/weboptimizer test/simple/node_modules/weboptimizer test/scss/node_modules/weboptimizer && shx mkdir -p node_modules/weboptimizer test/simple/node_modules/weboptimizer test/scss/node_modules/weboptimizer && copyCommand='shx cp -r plugins *.ts *.js *.json *.ejs' && $copyCommand node_modules/weboptimizer/ && $copyCommand test/simple/node_modules/weboptimizer/ && $copyCommand test/scss/node_modules/weboptimizer/",
|
|
69
77
|
"build:test": " yarn clear && yarn build && command='babel --extensions '.ts' --source-root ../ --out-file' && yarn build:copy-test-artefacts && $command test/browser.js test/browser.ts && $command test/configurator.js test/configurator.ts && $command test/helper.js test/helper.ts && $command test/ejsLoader.js test/ejsLoader.ts && $command test/stylelintConfigurator.js test/stylelintConfigurator.ts && $command test/index.js test/index.ts && $command test/webpackConfigurator.js test/webpackConfigurator.ts",
|
|
70
78
|
"build:test:source-map": "yarn clear && yarn build && command='babel --extensions '.ts' --source-maps inline --source-root ../ --out-file' && yarn build:copy-test-artefacts && $command test/browser.js test/browser.ts && $command test/configurator.js test/configurator.ts && $command test/helper.js test/helper.ts && $command test/ejsLoader.js test/ejsLoader.ts && $command test/stylelintConfigurator.js test/stylelintConfigurator.ts && $command test/index.js test/index.ts && $command test/webpackConfigurator.js test/webpackConfigurator.ts",
|
|
71
79
|
"build:types": "tsc --declaration --emitDeclarationOnly",
|
|
@@ -94,8 +102,8 @@
|
|
|
94
102
|
"babel-loader": "^10.1.1",
|
|
95
103
|
"babel-plugin-polyfill-corejs3": "^1.0.0",
|
|
96
104
|
"babel-plugin-transform-rewrite-imports": "^1.5.4",
|
|
97
|
-
"clientnode": "4.0.
|
|
98
|
-
"core-js": "^3.
|
|
105
|
+
"clientnode": "4.0.1484",
|
|
106
|
+
"core-js": "^3.50.0",
|
|
99
107
|
"ejs": "^6.0.1",
|
|
100
108
|
"exports-loader": "^5.0.0",
|
|
101
109
|
"extract-loader": "^5.1.0",
|
|
@@ -122,31 +130,31 @@
|
|
|
122
130
|
"@types/html-minifier": "^4.0.6",
|
|
123
131
|
"@types/html-minifier-terser": "^7.0.2",
|
|
124
132
|
"@types/imagemin": "^9.0.1",
|
|
125
|
-
"@types/node": "^26.
|
|
133
|
+
"@types/node": "^26.2.0",
|
|
126
134
|
"@types/postcss-import": "^14.0.3",
|
|
127
135
|
"@types/postcss-url": "^10.0.4",
|
|
128
136
|
"@types/webpack-env": "^1.18.8",
|
|
129
137
|
"@types/webpack-sources": "^3.2.3",
|
|
130
|
-
"@typescript-eslint/parser": "^8.
|
|
138
|
+
"@typescript-eslint/parser": "^8.67.0",
|
|
131
139
|
"css-loader": "^7.1.4",
|
|
132
|
-
"cssnano": "^8.0.
|
|
133
|
-
"eslint": "^10.8.
|
|
140
|
+
"cssnano": "^8.0.6",
|
|
141
|
+
"eslint": "^10.8.1",
|
|
134
142
|
"eslint-config-google": "^0.14.0",
|
|
135
|
-
"eslint-plugin-jsdoc": "^
|
|
143
|
+
"eslint-plugin-jsdoc": "^64.2.1",
|
|
136
144
|
"favicons": "^7.3.1",
|
|
137
145
|
"favicons-webpack-plugin": "^6.0.1",
|
|
138
|
-
"globals": "^17.
|
|
146
|
+
"globals": "^17.11.0",
|
|
139
147
|
"image-minimizer-webpack-plugin": "^5.0.0",
|
|
140
148
|
"jest": "^30.4.2",
|
|
141
149
|
"jsdoc": "^4.0.5",
|
|
142
150
|
"mini-css-extract-plugin": "^2.10.2",
|
|
143
151
|
"mkdirp": "^3.0.1",
|
|
144
152
|
"node-fetch": "^3.3.2",
|
|
145
|
-
"postcss": "^8.5.
|
|
153
|
+
"postcss": "^8.5.26",
|
|
146
154
|
"postcss-fontpath": "^1.0.0",
|
|
147
|
-
"postcss-import": "^
|
|
155
|
+
"postcss-import": "^17.0.0",
|
|
148
156
|
"postcss-loader": "^8.2.1",
|
|
149
|
-
"postcss-preset-env": "^11.
|
|
157
|
+
"postcss-preset-env": "^11.4.0",
|
|
150
158
|
"postcss-sprites": "^4.2.1",
|
|
151
159
|
"postcss-url": "^10.1.4",
|
|
152
160
|
"shx": "^0.4.0",
|
|
@@ -155,9 +163,9 @@
|
|
|
155
163
|
"stylelint-config-standard": "^40.0.0",
|
|
156
164
|
"stylelint-config-standard-scss": "^17.0.0",
|
|
157
165
|
"terser-webpack-plugin": "^5.6.1",
|
|
158
|
-
"typescript-eslint": "^8.
|
|
166
|
+
"typescript-eslint": "^8.67.0",
|
|
159
167
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
160
|
-
"web-documentation": "^1.0.
|
|
168
|
+
"web-documentation": "^1.0.46",
|
|
161
169
|
"workbox-webpack-plugin": "^7.4.1"
|
|
162
170
|
},
|
|
163
171
|
"peerDependencies": {
|
|
@@ -315,26 +323,61 @@
|
|
|
315
323
|
"optional": true
|
|
316
324
|
}
|
|
317
325
|
},
|
|
326
|
+
"resolutions": {
|
|
327
|
+
"colors": "1.4.0"
|
|
328
|
+
},
|
|
318
329
|
"engines": {
|
|
319
330
|
"node": ">=24",
|
|
320
331
|
"npm": ">=11",
|
|
321
332
|
"yarn": ">=4"
|
|
322
333
|
},
|
|
323
|
-
"resolutions": {
|
|
324
|
-
"colors": "1.4.0"
|
|
325
|
-
},
|
|
326
|
-
"sideEffects": true,
|
|
327
|
-
"type": "module",
|
|
328
|
-
"exports": {
|
|
329
|
-
".": "/.index.js",
|
|
330
|
-
"./browser": "./browser.js",
|
|
331
|
-
"./ejsLoader": "./ejsLoader.js",
|
|
332
|
-
"./type": "./type.js"
|
|
333
|
-
},
|
|
334
|
-
"webDocumentation": {
|
|
335
|
-
"trackingCode": "UA-40192634-11"
|
|
336
|
-
},
|
|
337
334
|
"configuration": {
|
|
335
|
+
"debug": {
|
|
336
|
+
"debug": true,
|
|
337
|
+
"development": {
|
|
338
|
+
"server": {
|
|
339
|
+
"open": {
|
|
340
|
+
"__evaluate__": "`${path.join(self.path.target.public, self.files.defaultHTML.filename)}`"
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
"files": {
|
|
345
|
+
"compose": {
|
|
346
|
+
"javaScript": {
|
|
347
|
+
"__evaluate__": "`${path.resolve(self.path.target.asset.javaScript, '[name].js')}?${self.hashAlgorithm}=[chunkhash]`"
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"inPlace": {
|
|
352
|
+
"cascadingStyleSheet": null,
|
|
353
|
+
"javaScript": null,
|
|
354
|
+
"otherMaximumFileSizeLimitInByte": 1
|
|
355
|
+
},
|
|
356
|
+
"module": {
|
|
357
|
+
"html": {
|
|
358
|
+
"options": {
|
|
359
|
+
"minimize": false
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
"optimizer": {
|
|
363
|
+
"cssnano": null,
|
|
364
|
+
"htmlMinifier": null,
|
|
365
|
+
"minimize": false
|
|
366
|
+
},
|
|
367
|
+
"preprocessor": {
|
|
368
|
+
"html": {
|
|
369
|
+
"options": {
|
|
370
|
+
"compiler": {
|
|
371
|
+
"_with": false,
|
|
372
|
+
"compileDebug": true,
|
|
373
|
+
"debug": true,
|
|
374
|
+
"strict": true
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
},
|
|
338
381
|
"default": {
|
|
339
382
|
"assetPattern": {
|
|
340
383
|
"javaScript": {
|
|
@@ -377,6 +420,17 @@
|
|
|
377
420
|
}
|
|
378
421
|
},
|
|
379
422
|
"types": {
|
|
423
|
+
"additional": {
|
|
424
|
+
"filePathPattern": "^.+\\.((bundle)|(compiled))(?:\\.map)?$",
|
|
425
|
+
"outputExtension": ""
|
|
426
|
+
},
|
|
427
|
+
"cascadingStyleSheet": {
|
|
428
|
+
"extension": "css",
|
|
429
|
+
"filePathPattern": {
|
|
430
|
+
"__evaluate__": "`^${string.maskForRegularExpression(self.path.target.asset.cascadingStyleSheet)}.+${self.path.target.asset.cascadingStyleSheet === self.path.source.asset.cascadingStyleSheet ? '\\\\.compiled' : ''}(?:\\\\.[^.]+(?:\\\\.map)?)?$`"
|
|
431
|
+
},
|
|
432
|
+
"outputExtension": "css"
|
|
433
|
+
},
|
|
380
434
|
"default": {
|
|
381
435
|
"filePathPattern": {
|
|
382
436
|
"__evaluate__": "`^${string.maskForRegularExpression(self.path.target.asset.javaScript)}.+(?:\\\\.[^.]+(?:\\\\.map)?)?\\\\.c?js$`"
|
|
@@ -387,35 +441,23 @@
|
|
|
387
441
|
"__evaluate__": "`touch '\\${path.resolve(self.path.target.asset[buildConfiguration.type], path.basename(filePath, \\`.\\${buildConfiguration.extension}\\`))}.\\${buildConfiguration.outputExtension}'`"
|
|
388
442
|
}
|
|
389
443
|
},
|
|
390
|
-
"typeScript": {
|
|
391
|
-
"extension": "ts",
|
|
392
|
-
"ignoredExtension": "d.ts"
|
|
393
|
-
},
|
|
394
|
-
"typeScriptExtension": {
|
|
395
|
-
"extension": "tsx",
|
|
396
|
-
"ignoredExtension": "d.ts"
|
|
397
|
-
},
|
|
398
444
|
"javaScript": {
|
|
399
445
|
"extension": "js"
|
|
400
446
|
},
|
|
401
447
|
"javaScriptExtension": {
|
|
402
448
|
"extension": "jsx"
|
|
403
449
|
},
|
|
404
|
-
"
|
|
405
|
-
"extension": "
|
|
406
|
-
"
|
|
407
|
-
"__evaluate__": "`^${string.maskForRegularExpression(self.path.target.asset.cascadingStyleSheet)}.+${self.path.target.asset.cascadingStyleSheet === self.path.source.asset.cascadingStyleSheet ? '\\\\.compiled' : ''}(?:\\\\.[^.]+(?:\\\\.map)?)?$`"
|
|
408
|
-
},
|
|
409
|
-
"outputExtension": "css"
|
|
450
|
+
"typeScript": {
|
|
451
|
+
"extension": "ts",
|
|
452
|
+
"ignoredExtension": "d.ts"
|
|
410
453
|
},
|
|
411
|
-
"
|
|
412
|
-
"
|
|
413
|
-
"
|
|
454
|
+
"typeScriptExtension": {
|
|
455
|
+
"extension": "tsx",
|
|
456
|
+
"ignoredExtension": "d.ts"
|
|
414
457
|
}
|
|
415
458
|
}
|
|
416
459
|
},
|
|
417
460
|
"commandLine": {
|
|
418
|
-
"#": "Configures how to trigger corresponding project livecycle tasks from the command line.",
|
|
419
461
|
"build": {
|
|
420
462
|
"arguments": [
|
|
421
463
|
"--config",
|
|
@@ -513,11 +555,11 @@
|
|
|
513
555
|
"command": "webpack"
|
|
514
556
|
},
|
|
515
557
|
"test": {
|
|
516
|
-
"environments": {
|
|
517
|
-
"__evaluate__": "['node'].concat(self.generic.isWeb ? 'jsdom' : [])"
|
|
518
|
-
},
|
|
519
558
|
"command": {
|
|
520
559
|
"__evaluate__": "self.commandLine.test.environments.map((environment) => `${self.generic.testCommandLine} '${path.relative(self.path.base, self.path.target.test) === '' ? './test' : `${path.relative(self.path.base, self.path.target.test)}/`}.+\\\\.js$' --test-environment ${environment}`).join(' && ')"
|
|
560
|
+
},
|
|
561
|
+
"environments": {
|
|
562
|
+
"__evaluate__": "['node'].concat(self.generic.isWeb ? 'jsdom' : [])"
|
|
521
563
|
}
|
|
522
564
|
},
|
|
523
565
|
"test:browser": {
|
|
@@ -608,7 +650,6 @@
|
|
|
608
650
|
},
|
|
609
651
|
"extensions": {
|
|
610
652
|
"file": {
|
|
611
|
-
"#": "NOTE: Maps import specifier extensions to resolvable source extensions (webpack's \"resolve.extensionAlias\") since imports rewritten to \".js\" have to be resolved back to their typescript sources.",
|
|
612
653
|
"alias": {
|
|
613
654
|
".js": [
|
|
614
655
|
".js",
|
|
@@ -707,9 +748,9 @@
|
|
|
707
748
|
"__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')}`"
|
|
708
749
|
},
|
|
709
750
|
"postCompileOptions": {
|
|
751
|
+
"_with": false,
|
|
710
752
|
"compileSteps": 0,
|
|
711
|
-
"strict": true
|
|
712
|
-
"_with": false
|
|
753
|
+
"strict": true
|
|
713
754
|
},
|
|
714
755
|
"use": [
|
|
715
756
|
{
|
|
@@ -728,6 +769,7 @@
|
|
|
728
769
|
"compiler": {
|
|
729
770
|
"__evaluate__": "self.module.preprocessor.ejs.options.compiler"
|
|
730
771
|
},
|
|
772
|
+
"compileSteps": 2,
|
|
731
773
|
"compress": {
|
|
732
774
|
"__evaluate__": "self.module.preprocessor.ejs.options.compress"
|
|
733
775
|
},
|
|
@@ -742,8 +784,7 @@
|
|
|
742
784
|
},
|
|
743
785
|
"module": {
|
|
744
786
|
"__evaluate__": "self.module.preprocessor.ejs.options.module"
|
|
745
|
-
}
|
|
746
|
-
"compileSteps": 2
|
|
787
|
+
}
|
|
747
788
|
}
|
|
748
789
|
}
|
|
749
790
|
]
|
|
@@ -835,7 +876,6 @@
|
|
|
835
876
|
]
|
|
836
877
|
},
|
|
837
878
|
"inPlace": {
|
|
838
|
-
"#": "Indicates whether to include the corresponding artefacts into build target artefact or reference them to dynamically load them during runtime.",
|
|
839
879
|
"cascadingStyleSheet": {
|
|
840
880
|
"head": ".+"
|
|
841
881
|
},
|
|
@@ -853,6 +893,9 @@
|
|
|
853
893
|
"aliases": {
|
|
854
894
|
"ejs-loader": "weboptimizer/ejsLoader"
|
|
855
895
|
},
|
|
896
|
+
"directoryNames": [
|
|
897
|
+
"node_modules"
|
|
898
|
+
],
|
|
856
899
|
"extensions": {
|
|
857
900
|
"file": [
|
|
858
901
|
".compiled.js",
|
|
@@ -861,9 +904,6 @@
|
|
|
861
904
|
".js"
|
|
862
905
|
]
|
|
863
906
|
},
|
|
864
|
-
"directoryNames": [
|
|
865
|
-
"node_modules"
|
|
866
|
-
],
|
|
867
907
|
"resolveSymlinks": false
|
|
868
908
|
},
|
|
869
909
|
"module": {
|
|
@@ -874,31 +914,31 @@
|
|
|
874
914
|
"aliases": {
|
|
875
915
|
"#": "Local references to avoid relative paths in complex file structures.",
|
|
876
916
|
"@asset": {
|
|
877
|
-
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.
|
|
917
|
+
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.source.base, self.path.source.asset.base)))"
|
|
878
918
|
},
|
|
879
919
|
"@cascadingStyleSheet": {
|
|
880
|
-
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.
|
|
920
|
+
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.source.base, self.path.source.asset.base, self.path.source.asset.cascadingStyleSheet)))"
|
|
881
921
|
},
|
|
882
922
|
"@data": {
|
|
883
|
-
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.
|
|
923
|
+
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.source.base, self.path.source.asset.base, self.path.source.asset.data)))"
|
|
884
924
|
},
|
|
885
925
|
"@font": {
|
|
886
|
-
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.
|
|
926
|
+
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.source.base, self.path.source.asset.base, self.path.source.asset.font)))"
|
|
887
927
|
},
|
|
888
928
|
"@image": {
|
|
889
|
-
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.
|
|
929
|
+
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.source.base, self.path.source.asset.base, self.path.source.asset.image)))"
|
|
890
930
|
},
|
|
891
931
|
"@javaScript": {
|
|
892
|
-
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.
|
|
932
|
+
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.source.base, self.path.source.asset.base, self.path.source.asset.javaScript)))"
|
|
893
933
|
},
|
|
894
934
|
"@root": {
|
|
895
935
|
"__evaluate__": "path.join('/', path.relative(self.path.context, self.path.base))"
|
|
896
936
|
},
|
|
897
937
|
"@source": {
|
|
898
|
-
"__evaluate__": "path.join('/', path.relative(self.path.base,
|
|
938
|
+
"__evaluate__": "path.join('/', path.relative(self.path.base, self.path.source.base))"
|
|
899
939
|
},
|
|
900
940
|
"@template": {
|
|
901
|
-
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.
|
|
941
|
+
"__evaluate__": "path.join('/', path.relative(self.path.base, path.resolve(self.path.source.asset.base, self.path.source.asset.template)))"
|
|
902
942
|
}
|
|
903
943
|
},
|
|
904
944
|
"cascadingStyleSheet": {
|
|
@@ -907,7 +947,6 @@
|
|
|
907
947
|
"loader": "css-loader",
|
|
908
948
|
"options": {
|
|
909
949
|
"esModule": false,
|
|
910
|
-
"#": "Configures importing css directives into js modules.",
|
|
911
950
|
"modules": {
|
|
912
951
|
"auto": true,
|
|
913
952
|
"getLocalIdent": {
|
|
@@ -948,11 +987,11 @@
|
|
|
948
987
|
},
|
|
949
988
|
"optimizer": {
|
|
950
989
|
"cssnano": {
|
|
951
|
-
"#": "The autoprefixer has to be disabled in this context since it would remove all needed vendor prefixes from the preceding processing (every prefix should be needed here).",
|
|
952
990
|
"preset": [
|
|
953
991
|
{
|
|
954
992
|
"__await_evaluate__": "module.optionalImport('cssnano-preset-default').then((module) => module?.default)"
|
|
955
993
|
},
|
|
994
|
+
"#: The autoprefixer has to be disabled in this context since it would remove all needed vendor prefixes from the preceding processing (every prefix should be needed here).",
|
|
956
995
|
{
|
|
957
996
|
"autoprefixer": false,
|
|
958
997
|
"discardUnused": {
|
|
@@ -1005,15 +1044,14 @@
|
|
|
1005
1044
|
"minifyJS": true,
|
|
1006
1045
|
"minifyURLs": false,
|
|
1007
1046
|
"preserveLineBreaks": false,
|
|
1008
|
-
"#": "NOTE: Needed for attribute nested quotes which should be escaped.",
|
|
1009
1047
|
"preventAttributesEscaping": true,
|
|
1010
|
-
"processScripts": [],
|
|
1011
1048
|
"processConditionalComments": false,
|
|
1049
|
+
"processScripts": [],
|
|
1012
1050
|
"quoteCharacter": "\"",
|
|
1013
1051
|
"removeAttributeQuotes": false,
|
|
1052
|
+
"removeCDATASectionsFromCDATA": true,
|
|
1014
1053
|
"removeComments": true,
|
|
1015
1054
|
"removeCommentsFromCDATA": true,
|
|
1016
|
-
"removeCDATASectionsFromCDATA": true,
|
|
1017
1055
|
"removeEmptyAttributes": false,
|
|
1018
1056
|
"removeEmptyElements": false,
|
|
1019
1057
|
"removeOptionalTags": false,
|
|
@@ -1027,6 +1065,9 @@
|
|
|
1027
1065
|
},
|
|
1028
1066
|
"image": {
|
|
1029
1067
|
"content": {
|
|
1068
|
+
"exclude": {
|
|
1069
|
+
"__evaluate__": "self.debug || 2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2] !== 'build' ? /.*/ : self.debug && console.warn(`Image compression disabled. Use configuration: \"{module:{optimizer:{image:{content:{exclude:undefined}}}}}\" to enable default image file including.`) || /.*/"
|
|
1070
|
+
},
|
|
1030
1071
|
"minimizer": {
|
|
1031
1072
|
"options": {
|
|
1032
1073
|
"plugins": [
|
|
@@ -1059,9 +1100,6 @@
|
|
|
1059
1100
|
]
|
|
1060
1101
|
]
|
|
1061
1102
|
}
|
|
1062
|
-
},
|
|
1063
|
-
"exclude": {
|
|
1064
|
-
"__evaluate__": "self.debug || 2 < self.givenCommandLineArguments.length && self.givenCommandLineArguments[2] !== 'build' ? /.*/ : self.debug && console.warn(`Image compression disabled. Use configuration: \"{module:{optimizer:{image:{content:{exclude:undefined}}}}}\" to enable default image file including.`) || /.*/"
|
|
1065
1103
|
}
|
|
1066
1104
|
},
|
|
1067
1105
|
"loader": []
|
|
@@ -1070,8 +1108,8 @@
|
|
|
1070
1108
|
"terser": {
|
|
1071
1109
|
"terserOptions": {
|
|
1072
1110
|
"compress": {
|
|
1073
|
-
"#": "To provide a logging output we need to exclude this feature.",
|
|
1074
1111
|
"drop_console": {
|
|
1112
|
+
"#": "To provide a logging output we need to exclude this feature.",
|
|
1075
1113
|
"__evaluate__": "!self.debug"
|
|
1076
1114
|
},
|
|
1077
1115
|
"drop_debugger": {
|
|
@@ -1115,14 +1153,15 @@
|
|
|
1115
1153
|
"loader": "ejs-loader",
|
|
1116
1154
|
"options": {
|
|
1117
1155
|
"compiler": {
|
|
1156
|
+
"_with": false,
|
|
1118
1157
|
"async": true,
|
|
1119
1158
|
"cache": true,
|
|
1120
1159
|
"compileDebug": false,
|
|
1121
1160
|
"debug": false,
|
|
1122
1161
|
"localsName": "_",
|
|
1123
|
-
"strict": true
|
|
1124
|
-
"_with": false
|
|
1162
|
+
"strict": true
|
|
1125
1163
|
},
|
|
1164
|
+
"compileSteps": 2,
|
|
1126
1165
|
"compress": {
|
|
1127
1166
|
"html": {
|
|
1128
1167
|
"__evaluate__": "self.module.optimizer.htmlMinifier"
|
|
@@ -1145,8 +1184,7 @@
|
|
|
1145
1184
|
"replacements": {
|
|
1146
1185
|
"__evaluate__": "self.module.replacements"
|
|
1147
1186
|
}
|
|
1148
|
-
}
|
|
1149
|
-
"compileSteps": 2
|
|
1187
|
+
}
|
|
1150
1188
|
}
|
|
1151
1189
|
},
|
|
1152
1190
|
"html": {
|
|
@@ -1164,6 +1202,7 @@
|
|
|
1164
1202
|
"compiler": {
|
|
1165
1203
|
"__evaluate__": "self.module.preprocessor.ejs.options.compiler"
|
|
1166
1204
|
},
|
|
1205
|
+
"compileSteps": 2,
|
|
1167
1206
|
"compress": {
|
|
1168
1207
|
"__evaluate__": "self.module.preprocessor.ejs.options.compress"
|
|
1169
1208
|
},
|
|
@@ -1178,8 +1217,7 @@
|
|
|
1178
1217
|
},
|
|
1179
1218
|
"module": {
|
|
1180
1219
|
"__evaluate__": "self.module.preprocessor.ejs.options.module"
|
|
1181
|
-
}
|
|
1182
|
-
"compileSteps": 2
|
|
1220
|
+
}
|
|
1183
1221
|
}
|
|
1184
1222
|
},
|
|
1185
1223
|
"javaScript": {
|
|
@@ -1217,6 +1255,14 @@
|
|
|
1217
1255
|
{
|
|
1218
1256
|
"appendExtension": ".js",
|
|
1219
1257
|
"recognizedExtensions": [
|
|
1258
|
+
".css",
|
|
1259
|
+
".scss",
|
|
1260
|
+
".sass",
|
|
1261
|
+
".svg",
|
|
1262
|
+
".png",
|
|
1263
|
+
".jpg",
|
|
1264
|
+
".jpeg",
|
|
1265
|
+
".gif",
|
|
1220
1266
|
".js",
|
|
1221
1267
|
".jsx",
|
|
1222
1268
|
".d.ts",
|
|
@@ -1241,17 +1287,13 @@
|
|
|
1241
1287
|
"regularExpression": "\\.[jt]sx?(?:\\?.*)?$"
|
|
1242
1288
|
}
|
|
1243
1289
|
},
|
|
1244
|
-
"#": "Defines resources which should be mapped to given variables without referencing them explicitly.",
|
|
1245
1290
|
"provide": null,
|
|
1246
1291
|
"replacements": {
|
|
1247
|
-
"#": "Defines referenced resources or contexts to be replaced.",
|
|
1248
1292
|
"context": [],
|
|
1249
1293
|
"normal": {}
|
|
1250
1294
|
},
|
|
1251
|
-
"#1": "NOTE: Breaks linked files live reloading when disabled.",
|
|
1252
1295
|
"resolveSymlinks": true,
|
|
1253
1296
|
"style": {
|
|
1254
|
-
"#": "Includes referenced (hot module replaced) css files in-place into the html header to dynamically migrate them on changes without browser refresh.",
|
|
1255
1297
|
"loader": "style-loader",
|
|
1256
1298
|
"options": {
|
|
1257
1299
|
"injectType": "singletonStyleTag",
|
|
@@ -1261,7 +1303,6 @@
|
|
|
1261
1303
|
},
|
|
1262
1304
|
"nodeENV": null,
|
|
1263
1305
|
"nodeEnvironment": {
|
|
1264
|
-
"#": "Indicates which node environment variables should be included in built artefacts.",
|
|
1265
1306
|
"global": true
|
|
1266
1307
|
},
|
|
1267
1308
|
"offline": {
|
|
@@ -1530,7 +1571,7 @@
|
|
|
1530
1571
|
"module": {
|
|
1531
1572
|
"parser": {
|
|
1532
1573
|
"javascript": {
|
|
1533
|
-
"#": "NOTE: Tells webpack to include dynamically-imported modules in the current chunk (returning an already-resolved promise) rather than emitting a separate [id].js. Result: only testBundle.js.",
|
|
1574
|
+
"#dynamicImportMode": "NOTE: Tells webpack to include dynamically-imported modules in the current chunk (returning an already-resolved promise) rather than emitting a separate [id].js. Result: only testBundle.js.",
|
|
1534
1575
|
"dynamicImportMode": "eager"
|
|
1535
1576
|
}
|
|
1536
1577
|
}
|
|
@@ -1585,52 +1626,6 @@
|
|
|
1585
1626
|
}
|
|
1586
1627
|
}
|
|
1587
1628
|
},
|
|
1588
|
-
"debug": {
|
|
1589
|
-
"debug": true,
|
|
1590
|
-
"development": {
|
|
1591
|
-
"server": {
|
|
1592
|
-
"open": {
|
|
1593
|
-
"__evaluate__": "`${path.join(self.path.target.public, self.files.defaultHTML.filename)}`"
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
|
-
},
|
|
1597
|
-
"files": {
|
|
1598
|
-
"compose": {
|
|
1599
|
-
"javaScript": {
|
|
1600
|
-
"__evaluate__": "`${path.resolve(self.path.target.asset.javaScript, '[name].js')}?${self.hashAlgorithm}=[chunkhash]`"
|
|
1601
|
-
}
|
|
1602
|
-
}
|
|
1603
|
-
},
|
|
1604
|
-
"inPlace": {
|
|
1605
|
-
"cascadingStyleSheet": null,
|
|
1606
|
-
"javaScript": null,
|
|
1607
|
-
"otherMaximumFileSizeLimitInByte": 1
|
|
1608
|
-
},
|
|
1609
|
-
"module": {
|
|
1610
|
-
"html": {
|
|
1611
|
-
"options": {
|
|
1612
|
-
"minimize": false
|
|
1613
|
-
}
|
|
1614
|
-
},
|
|
1615
|
-
"optimizer": {
|
|
1616
|
-
"cssnano": null,
|
|
1617
|
-
"htmlMinifier": null,
|
|
1618
|
-
"minimize": false
|
|
1619
|
-
},
|
|
1620
|
-
"preprocessor": {
|
|
1621
|
-
"html": {
|
|
1622
|
-
"options": {
|
|
1623
|
-
"compiler": {
|
|
1624
|
-
"compileDebug": true,
|
|
1625
|
-
"debug": true,
|
|
1626
|
-
"strict": true,
|
|
1627
|
-
"_with": false
|
|
1628
|
-
}
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
}
|
|
1632
|
-
}
|
|
1633
|
-
},
|
|
1634
1629
|
"library": {
|
|
1635
1630
|
"commandLine": {
|
|
1636
1631
|
"build:types": {
|
|
@@ -1745,20 +1740,20 @@
|
|
|
1745
1740
|
"source": {
|
|
1746
1741
|
"asset": {
|
|
1747
1742
|
"cascadingStyleSheet": "./",
|
|
1748
|
-
"
|
|
1743
|
+
"data": "./",
|
|
1749
1744
|
"image": "./",
|
|
1750
|
-
"
|
|
1751
|
-
"
|
|
1745
|
+
"javaScript": "./",
|
|
1746
|
+
"template": "./"
|
|
1752
1747
|
},
|
|
1753
1748
|
"base": "./"
|
|
1754
1749
|
},
|
|
1755
1750
|
"target": {
|
|
1756
1751
|
"asset": {
|
|
1757
1752
|
"cascadingStyleSheet": "./",
|
|
1758
|
-
"
|
|
1753
|
+
"data": "./",
|
|
1759
1754
|
"image": "./",
|
|
1760
|
-
"
|
|
1761
|
-
"
|
|
1755
|
+
"javaScript": "./",
|
|
1756
|
+
"template": "./"
|
|
1762
1757
|
},
|
|
1763
1758
|
"base": "./"
|
|
1764
1759
|
}
|
|
@@ -1779,5 +1774,8 @@
|
|
|
1779
1774
|
}
|
|
1780
1775
|
}
|
|
1781
1776
|
},
|
|
1777
|
+
"webDocumentation": {
|
|
1778
|
+
"trackingCode": "UA-40192634-11"
|
|
1779
|
+
},
|
|
1782
1780
|
"packageManager": "yarn@4.14.1+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42"
|
|
1783
1781
|
}
|