-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CSS deduping and missing chunks (#7218)
- Loading branch information
Showing
7 changed files
with
69 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'astro': patch | ||
--- | ||
|
||
Fix CSS deduping and missing chunks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...tro/test/fixtures/0-css/src/pages/client-only-and-ssr/_components/SvelteOnlyAndSsr.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- This file will be used as client:only and SSR on two different pages --> | ||
|
||
<div class="svelte-only-and-ssr"> | ||
Svelte only and SSR | ||
</div> | ||
|
||
<style> | ||
.svelte-only-and-ssr { | ||
background-color: green; | ||
} | ||
</style> |
7 changes: 7 additions & 0 deletions
7
packages/astro/test/fixtures/0-css/src/pages/client-only-and-ssr/only.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
import SvelteOnlyAndSsr from './_components/SvelteOnlyAndSsr.svelte' | ||
--- | ||
|
||
<div> | ||
<SvelteOnlyAndSsr client:only /> | ||
</div> |
7 changes: 7 additions & 0 deletions
7
packages/astro/test/fixtures/0-css/src/pages/client-only-and-ssr/ssr.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
import SvelteOnlyAndSsr from './_components/SvelteOnlyAndSsr.svelte' | ||
--- | ||
|
||
<div> | ||
<SvelteOnlyAndSsr /> | ||
</div> |