Commit c4ac0e0
fix: better account for render tags when pruning CSS (#14456)
Fixes #14399
Add a mechanism to connect render tags to snippets to know where to walk when coming across render tags
---------
Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>1 parent dcef8ff commit c4ac0e0
File tree
46 files changed
+493
-232
lines changed- .changeset
- packages/svelte
- src/compiler
- phases
- 1-parse/state
- 2-analyze
- css
- visitors
- types
- tests/css/samples
- child-combinator
- dynamic-element-tag
- general-siblings-combinator-render-tag
- general-siblings-combinator-slot
- general-siblings-combinator-star
- general-siblings-combinator
- has-with-render-tag
- siblings-combinator-component-default-snippet
- siblings-combinator-component-named-snippet
- siblings-combinator-missing-fallback
- siblings-combinator-render-tag
- siblings-combinator-slot-named-between-default
- siblings-combinator-slot
- siblings-combinator-star
- siblings-combinator
- snippets
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
46 files changed
+493
-232
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
318 | 321 | | |
319 | 322 | | |
320 | 323 | | |
| |||
605 | 608 | | |
606 | 609 | | |
607 | 610 | | |
608 | | - | |
| 611 | + | |
| 612 | + | |
609 | 613 | | |
610 | 614 | | |
611 | 615 | | |
| |||
0 commit comments