Skip to content

Commit

Permalink
fix: support TS 5.6 for svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Sep 17, 2024
1 parent b68c19f commit 28b9ce9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/esbuild/svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const sveltePlugin = ({
sourceMap: true,
typescript: {
compilerOptions: {
preserveValueImports: true,
verbatimModuleSyntax: true,
},
},
})
Expand All @@ -84,7 +84,7 @@ export const sveltePlugin = ({
sourcemap: true,
tsconfigRaw: {
compilerOptions: {
preserveValueImports: true,
verbatimModuleSyntax: true,
},
},
logLevel: build.initialOptions.logLevel,
Expand Down

0 comments on commit 28b9ce9

Please sign in to comment.