Skip to content

Commit 3e2f09c

Browse files
alan-agius4AndrewKushnir
authored andcommitted
test: enable namedChunks in cli-hello-world-lazy integration test (angular#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 angular#41636
1 parent d828295 commit 3e2f09c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

goldens/size-tracking/integration-payloads.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"runtime-es2015": 3354,
4242
"main-es2015": 295076,
4343
"polyfills-es2015": 36975,
44-
"434-es2015": 796
44+
"src_app_lazy_lazy_module_ts-es2015": 825
4545
}
4646
}
4747
},

integration/cli-hello-world-lazy/angular.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"build": {
1414
"builder": "@angular-devkit/build-angular:browser",
1515
"options": {
16+
"namedChunks": true,
1617
"outputPath": "dist",
1718
"index": "src/index.html",
1819
"main": "src/main.ts",
@@ -41,7 +42,6 @@
4142
"outputHashing": "all",
4243
"sourceMap": false,
4344
"extractCss": true,
44-
"namedChunks": false,
4545
"extractLicenses": true,
4646
"vendorChunk": false,
4747
"buildOptimizer": true,

0 commit comments

Comments
 (0)