Skip to content

Commit 41476c1

Browse files
Sync svelte docs (#1531)
sync svelte docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent 99d35f1 commit 41476c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/svelte.dev/content/docs/svelte/98-reference/21-svelte-compiler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ cssHash?: CssHashGetter;
790790
</div>
791791

792792
A function that takes a `{ hash, css, name, filename }` argument and returns the string that is used as a classname for scoped CSS.
793-
It defaults to returning `svelte-${hash(css)}`.
793+
It defaults to returning `svelte-${hash(filename ?? css)}`.
794794

795795
</div>
796796
</div>

0 commit comments

Comments
 (0)