Skip to content

Commit 28b9ce9

Browse files
committed
fix: support TS 5.6 for svelte
1 parent b68c19f commit 28b9ce9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/esbuild/svelte.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const sveltePlugin = ({
7070
sourceMap: true,
7171
typescript: {
7272
compilerOptions: {
73-
preserveValueImports: true,
73+
verbatimModuleSyntax: true,
7474
},
7575
},
7676
})
@@ -84,7 +84,7 @@ export const sveltePlugin = ({
8484
sourcemap: true,
8585
tsconfigRaw: {
8686
compilerOptions: {
87-
preserveValueImports: true,
87+
verbatimModuleSyntax: true,
8888
},
8989
},
9090
logLevel: build.initialOptions.logLevel,

0 commit comments

Comments
 (0)