3e2f09ca88
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 |
||
---|---|---|
.. | ||
e2e | ||
src | ||
.editorconfig | ||
.gitignore | ||
README.md | ||
angular.json | ||
browserslist | ||
check-output-for-ngdevmode.js | ||
karma.conf.js | ||
package.json | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.spec.json | ||
tslint.json | ||
yarn.lock |
README.md
CliHelloWorldLazy
This test checks bundle sizes when there is a lazy module. It also checks if the ngDevMode
global variable and string references in packages/core/src/util/ng_dev_mode.ts
are correctly removed.
This test contains a lazy route to ensure ngDevMode
removal happens even across chunks, and a payload size check in /goldens/size-tracking/integration-payloads.json
to ensure extra code is not retained accidentally.