Skip to content

Commit ff3a626

Browse files
committed
Force modern svelte features
1 parent df7b538 commit ff3a626

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

svelte.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,13 @@ const config = {
4040
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
4141
// for more information about preprocessors
4242
preprocess: vitePreprocess(),
43-
4443
vitePlugin: {
4544
inspector: mode === 'development',
4645
},
46+
compilerOptions: {
47+
runes: true,
48+
modernAst: true,
49+
},
4750
kit: {
4851
adapter: adapter(),
4952
csp: {

0 commit comments

Comments
 (0)