Skip to content

Commit 72fddc2

Browse files
committed
docs: update README
1 parent f3c88f2 commit 72fddc2

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ export function f() {
3535

3636
</td></tr></tbody></table>
3737

38-
### Remove Dead Code
39-
40-
> The core of tree-shaking. The execution is simulated to know which code is useless.
41-
>
42-
> And don't worry about the `&& true` in the output, minifier will remove it.
38+
### Dead Branch Elimination
4339

4440
<table><tbody><tr><td width="500px"> Input </td><td width="500px"> Output </td></tr><tr>
4541
<td valign="top">
@@ -84,8 +80,6 @@ g(false);
8480

8581
### Object Property Mangling
8682

87-
> This is beyond the scope of tree-shaking, we need a new name for this project 😇.
88-
8983
<table><tbody><tr><td width="500px"> Input </td><td width="500px"> Output </td></tr><tr>
9084
<td valign="top">
9185

@@ -117,8 +111,6 @@ export function main() {
117111

118112
### Class Tree Shaking
119113

120-
> One of the hardest but the coolest.
121-
122114
<table><tbody><tr><td width="500px"> Input </td><td width="500px"> Output </td></tr><tr>
123115
<td valign="top">
124116

0 commit comments

Comments
 (0)