Preprocessor config error in rollup.config.js after running setupTypeScript.js
petercoulton opened this issue · 0 comments
petercoulton commented
#189 seems to introduce a bug in rollup.config.js
after running setupTypeScript.js
. Specifically the preprocess directive is being added to compilerOptions instead of to the svelte config:
Expected -
...
svelte({
// enable run-time checks when not in production
compilerOptions: {
dev: !production
},
preprocess: sveltePreprocess()
}),
...
Actual -
svelte({
// enable run-time checks when not in production
compilerOptions: {
dev: !production,
preprocess: sveltePreprocess()
},
}),
...