angular/packages/core/test/bundling
2025-05-15 10:10:04 -07:00
..
animations build: remove obsolete bundling test apps (#60591) (#60615) 2025-03-28 19:57:06 +00:00
animations-standalone refactor(platform-browser): remove GenericBrowserDomAdapter (#60760) 2025-04-08 10:14:55 -07:00
core_all refactor(core): convert scripts within packages/core/test to relative imports (#60227) (#60556) 2025-03-26 07:05:23 -07:00
cyclic_import refactor(platform-browser): remove GenericBrowserDomAdapter (#60760) 2025-04-08 10:14:55 -07:00
defer fix(core): properly handle app stabilization with defer blocks (#61056) 2025-04-30 12:02:03 -07:00
forms_reactive fix(core): enable stashing only when withEventReplay() is invoked (#61352) 2025-05-15 10:10:04 -07:00
forms_template_driven fix(core): enable stashing only when withEventReplay() is invoked (#61352) 2025-05-15 10:10:04 -07:00
hello_world build: remove obsolete bundling test apps (#60591) (#60615) 2025-03-28 19:57:06 +00:00
hydration refactor(platform-browser): remove GenericBrowserDomAdapter (#60760) 2025-04-08 10:14:55 -07:00
image-directive refactor(core): convert scripts within packages/core/test to relative imports (#60227) (#60556) 2025-03-26 07:05:23 -07:00
injection build: remove obsolete bundling test apps (#60591) (#60615) 2025-03-28 19:57:06 +00:00
router fix(core): enable stashing only when withEventReplay() is invoked (#61352) 2025-05-15 10:10:04 -07:00
standalone_bootstrap refactor(platform-browser): remove GenericBrowserDomAdapter (#60760) 2025-04-08 10:14:55 -07:00
todo build: remove obsolete bundling test apps (#60591) (#60615) 2025-03-28 19:57:06 +00:00
README.md docs: add targets for the bundling debug (#60693) 2025-04-02 11:33:52 +00:00

Bundle

js_expected_symbol_test

This folder contains tests which assert that most of the code is tree shaken away. This is asserted by keeping gold files of all symbols which are expected to be retained. When doing renaming it is often necessary to update the gold files; to do so use these scripts:

yarn run symbol-extractor:check
yarn run symbol-extractor:update

Debugging

You can inspect the build output of each project by using the bundle.debug target.

yarn bazel build  //packages/core/test/bundling/standalone_bootstrap:bundle.debug

This target mostly tree shakes while keeping the symbols. To have a look at the minimal output (with inlining etc.) use the bundle.debug.min target.

yarn bazel build  //packages/core/test/bundling/standalone_bootstrap:bundle.debug.min