Skip to content

Commit 2d89431

Browse files
JeanMechethePunderWoman
authored andcommitted
docs: add targets for the bundling debug (angular#60693)
PR Close angular#60693
1 parent 440b1ad commit 2d89431

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

packages/core/test/bundling/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,18 @@ When doing renaming it is often necessary to update the gold files; to do so use
99
yarn run symbol-extractor:check
1010
yarn run symbol-extractor:update
1111
```
12+
13+
## Debugging
14+
15+
You can inspect the build output of each project by using the `bundle.debug` target.
16+
17+
```
18+
yarn bazel build //packages/core/test/bundling/standalone_bootstrap:bundle.debug
19+
```
20+
21+
This target mostly tree shakes while keeping the symbols. To have a look at the minimal output (with inlining etc.) use the
22+
`bundle.debug.min` target.
23+
24+
```
25+
yarn bazel build //packages/core/test/bundling/standalone_bootstrap:bundle.debug.min
26+
```

0 commit comments

Comments
 (0)