diff --git a/src/esbuild/svelte.ts b/src/esbuild/svelte.ts index 3dd874469..e490ab00d 100644 --- a/src/esbuild/svelte.ts +++ b/src/esbuild/svelte.ts @@ -70,7 +70,7 @@ export const sveltePlugin = ({ sourceMap: true, typescript: { compilerOptions: { - preserveValueImports: true, + verbatimModuleSyntax: true, }, }, }) @@ -84,7 +84,7 @@ export const sveltePlugin = ({ sourcemap: true, tsconfigRaw: { compilerOptions: { - preserveValueImports: true, + verbatimModuleSyntax: true, }, }, logLevel: build.initialOptions.logLevel,