File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
dom/__snapshots__/svelte@5
ssr/__snapshots__/svelte@5 Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -836,7 +836,7 @@ exports[`Example tutorial-localize-script/App.svelte > should render 1`] = `
836836 </button >
837837
838838 <div
839- class = " toast-container svelte-xtg016 "
839+ class = " toast-container svelte-166jqou "
840840 >
841841
842842 </div >
Original file line number Diff line number Diff line change @@ -178,8 +178,8 @@ exports[`Example tutorial-localize-derived/App.svelte > should render 1`] = `
178178
179179exports [` Example tutorial-localize-script/App.svelte > should render 1` ] = `
180180{
181- " body" : " <!--[--><div class=" space - y - 2 " ><button>Add to Cart</button> <div class=" toast - container svelte - xtg016 " ><!--[--><!--]--></div><!----><!----></div><!--]-->" ,
181+ " body" : " <!--[--><div class=" space - y - 2 " ><button>Add to Cart</button> <div class=" toast - container svelte - 166 jqou " ><!--[--><!--]--></div><!----><!----></div><!--]-->" ,
182182 " head" : " " ,
183- " html" : " <!--[--><div class=" space - y - 2 " ><button>Add to Cart</button> <div class=" toast - container svelte - xtg016 " ><!--[--><!--]--></div><!----><!----></div><!--]-->" ,
183+ " html" : " <!--[--><div class=" space - y - 2 " ><button>Add to Cart</button> <div class=" toast - container svelte - 166 jqou " ><!--[--><!--]--></div><!----><!----></div><!--]-->" ,
184184}
185185` ;
Original file line number Diff line number Diff line change @@ -39,7 +39,11 @@ const testConfigSsr = {
3939export default defineConfig ( {
4040 plugins : [
4141 svelteFluent ( ) ,
42- svelte ( ) ,
42+ svelte ( {
43+ compilerOptions : {
44+ cssHash : ( { hash, css } ) => `svelte-${ hash ( css ) } `
45+ }
46+ } ) ,
4347 Icons ( { compiler : 'svelte' , autoInstall : true } ) ,
4448 isSsrTest ? undefined : svelteTesting ( )
4549 ] . filter ( Boolean ) ,
You can’t perform that action at this time.
0 commit comments