test: enable `namedChunks` in `cli-hello-world-lazy` integration test (#41636)
This ensure that the name of the lazy chunk remains the same during updates. When not using `namedChunks` the id of the bundle is set to "deterministic", which means that the bundle name changes whenever the bundle is updated. PR Close #41636
This commit is contained in:
parent
d8282957b6
commit
3e2f09ca88
|
@ -41,7 +41,7 @@
|
|||
"runtime-es2015": 3354,
|
||||
"main-es2015": 295076,
|
||||
"polyfills-es2015": 36975,
|
||||
"434-es2015": 796
|
||||
"src_app_lazy_lazy_module_ts-es2015": 825
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:browser",
|
||||
"options": {
|
||||
"namedChunks": true,
|
||||
"outputPath": "dist",
|
||||
"index": "src/index.html",
|
||||
"main": "src/main.ts",
|
||||
|
@ -41,7 +42,6 @@
|
|||
"outputHashing": "all",
|
||||
"sourceMap": false,
|
||||
"extractCss": true,
|
||||
"namedChunks": false,
|
||||
"extractLicenses": true,
|
||||
"vendorChunk": false,
|
||||
"buildOptimizer": true,
|
||||
|
|
Loading…
Reference in New Issue