-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
fix: ensure CSS URLs are correct when inlining client stylesheets #15153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
elliott-with-the-longest-name-on-github
merged 44 commits into
main
from
fix-missing-css-with-inlining-enabled
Jan 27, 2026
Merged
Changes from 24 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
ac63953
add fix and test
teemingc 2f60ab4
add unit test
teemingc 251e4c8
changeset
teemingc 885a5c8
add test for inlining conditionally rendered component css
teemingc 3ff57e2
format
teemingc 6bc6d4b
Apply suggestion from @teemingc
teemingc 6dc758a
Apply suggestion from @teemingc
teemingc a4163c2
Update css.js
teemingc b331999
handle whitespace, add some additional test cases
elliott-with-the-longest-name-on-github 12fa7df
Merge branch 'main' into fix-missing-css-with-inlining-enabled
teemingc df13a14
add failing test for assets in static dir
teemingc 43fbe0f
Merge branch 'main' into fix-missing-css-with-inlining-enabled
teemingc ff2f6d0
Merge branch 'main' into fix-missing-css-with-inlining-enabled
teemingc b457b97
bump svelte
teemingc 88aa343
this should just work
teemingc f9a3aa7
fix lockfile
teemingc 9217194
ok its working now
teemingc 390b892
last fix
teemingc 40d1e4f
format
teemingc db54bdd
Merge branch 'main' into fix-missing-css-with-inlining-enabled
teemingc fe704f8
push wip
teemingc c3f54ac
Merge `origin/main` into `fix-missing-css-with-inlining-enabled`
teemingc 16c66b9
tests are passing
teemingc e77a985
Merge branch 'main' into fix-missing-css-with-inlining-enabled
teemingc 4f2f3a8
Merge branch 'main' into fix-missing-css-with-inlining-enabled
teemingc 4e665a2
split tests
teemingc 8cdc8c6
rename parser to parse
teemingc 41c3280
hoist regexes
teemingc d26f914
use test.each
teemingc fe352d5
add test for content and comments
teemingc 6807f52
rename assets to paths_assets
teemingc f34dbad
add tests for escaped characters
teemingc 27e522e
add test for encoded characters
teemingc abc4c64
safeguard against trailing slashes
teemingc 4902991
decode vite asset filenames
teemingc 5a6e24e
a bit of clean up
teemingc 0a019aa
oops
teemingc b9e9fa3
tippex comments
teemingc 7f260ba
tippex strings
teemingc cacb600
tippex wip
teemingc 3f4bea3
harden comment and escaped character tests
teemingc 6894599
account for nested app dir
teemingc 5f3fbf8
bump svelte
Rich-Harris 3b89c6b
chore: fix tippex and add test cases
elliott-with-the-longest-name-on-github File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 @@ | ||
| --- | ||
| '@sveltejs/kit': patch | ||
| --- | ||
|
|
||
| fix: ensure inlined CSS follows `paths.assets` and `paths.relative` settings |
This file contains hidden or 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 @@ | ||
| --- | ||
| '@sveltejs/kit': patch | ||
| --- | ||
|
|
||
| fix: ensure CSS inlining includes components that are conditionally rendered |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.