Repository navigation
Commit 50c420f
committed
fix(html): name a page's extracted chunks after its entry
An HTML page emits no JavaScript of its own, so the page's chunk no
longer occupies the entry's filename and the scripts and stylesheets
extracted from it take it instead: an `output.html` entry emits
`main.js` again, not `__html_<hash>_0.chunk.js`.1 parent 948c004 commit 50c420f
31 files changed
Lines changed: 305 additions & 106 deletions
File tree
- .changeset
- lib
- dependencies
- html
- test/configCases
- embedded/everything/__snapshots__
- html
- css-imported-from-js/__snapshots__
- css-mixed-link-and-js-import/__snapshots__
- css-runtime-and-split-chunks/__snapshots__
- css-split-chunks-order/__snapshots__
- entry-script-and-stylesheet/__snapshots__
- html-entry-no-js-asset
- html-entry-point-css/__snapshots__
- html-entry-point
- __snapshots__
- html-entry-with-js
- output-html-data-url-media-type
- output-html-inject
- output-html-per-entry-global-only-options
- output-html-per-entry-object
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
587 | 588 | | |
588 | 589 | | |
589 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
590 | 622 | | |
591 | 623 | | |
592 | 624 | | |
| |||
633 | 665 | | |
634 | 666 | | |
635 | 667 | | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
636 | 676 | | |
637 | 677 | | |
638 | 678 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
1047 | 1048 | | |
1048 | 1049 | | |
1049 | 1050 | | |
| 1051 | + | |
1050 | 1052 | | |
1051 | | - | |
| 1053 | + | |
1052 | 1054 | | |
1053 | 1055 | | |
1054 | 1056 | | |
1055 | 1057 | | |
1056 | 1058 | | |
| 1059 | + | |
| 1060 | + | |
1057 | 1061 | | |
1058 | 1062 | | |
1059 | 1063 | | |
| |||
1134 | 1138 | | |
1135 | 1139 | | |
1136 | 1140 | | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1137 | 1144 | | |
1138 | 1145 | | |
1139 | 1146 | | |
| |||
1143 | 1150 | | |
1144 | 1151 | | |
1145 | 1152 | | |
1146 | | - | |
1147 | | - | |
1148 | | - | |
1149 | | - | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
1150 | 1156 | | |
1151 | 1157 | | |
1152 | 1158 | | |
| |||
0 commit comments