@sveltejs/kit@2.50.2
Fixes
- Inlined CSS now respects
paths.assetsandpaths.relativesettings - Script CSP nonces now emit correctly when both
unsafe-inlineandstrict-dynamicare present - Re-exported
browser/devexports from esm-env - Batch resolver now uses validated args in both CSR and SSR modes
- CSS inlining now includes conditionally rendered components
- Rest params with matchers only match when the matcher succeeds
- Percent-encoded anchors (e.g.,
#sparkles-%E2%9C%A8) now handle correctly during prerendering
Patch Changes
-
fix: ensure inlined CSS follows
paths.assetsandpaths.relativesettings (#15153) -
fix: emit script CSP nonces when
unsafe-inlineis present ifstrict-dynamicis also present (#15221) -
fix: re-export browser/dev from esm-env (#15206)
-
fix: use validated args in batch resolver in both csr and ssr (#15215)
-
fix: ensure CSS inlining includes components that are conditionally rendered (#15153)
-
fix: only match rest params with matchers when the matcher matches (#15216)
-
fix: properly handle percent-encoded anchors (e.g.
<a href="#sparkles-%E2%9C%A8">) during prerendering. (#15231)