Skip to content

Commit fbd6605

Browse files
authored
Merge pull request #2 from kiamazi/patch-1
2 parents 591a6b8 + 8fedf4d commit fbd6605

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rollup.config.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ export default {
4141
},
4242
plugins: [
4343
svelte({
44-
preprocess: sveltePreprocess(),
44+
preprocess: sveltePreprocess({
45+
typescript: {
46+
tsconfigFile: production ? "./tsconfig.svelte.prod.json" : "./tsconfig.svelte.json",
47+
}
48+
}),
4549
compilerOptions: {
4650
// enable run-time checks when not in production
4751
dev: !production,

0 commit comments

Comments
 (0)