diff --git a/rollup.config.js b/rollup.config.js index 7c778a9..64289ee 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,6 +1,5 @@ import path from "path"; import svelte from "rollup-plugin-svelte"; -import {sveltePreprocess} from "svelte-preprocess/dist/autoProcess"; import cssOnlyRollupPlugin from "rollup-plugin-css-only"; import resolve from "@rollup/plugin-node-resolve"; import commonjs from "@rollup/plugin-commonjs"; @@ -29,11 +28,6 @@ export default commandLineArgs => ({ }, plugins: [ svelte({ - preprocess: sveltePreprocess({ - typescript: { - tsconfigFile: 'tsconfig.svelte.json', - }, - }), compilerOptions: { dev: !production, hydratable: true, @@ -55,7 +49,7 @@ export default commandLineArgs => ({ commonjs(), // Live reload in dev - !production && !!commandLineArgs.watch && livereloadRollupPlugin('public'), + !production && !!commandLineArgs.watch && livereloadRollupPlugin(publicDir), // Minify in production production && terser(),