aboutsummaryrefslogtreecommitdiff
path: root/vite.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/vite.config.js b/vite.config.js
new file mode 100644
index 0000000..f8d7061
--- /dev/null
+++ b/vite.config.js
@@ -0,0 +1,14 @@
+import { defineConfig } from "vite";
+import { svelte } from '@sveltejs/vite-plugin-svelte';
+
+
+const preprocess = require('svelte-preprocess')
+
+export default defineConfig({
+ plugins: [svelte({
+ preprocess: preprocess(),
+ hot: {
+ // preserveLocalState
+ }
+ })]
+}) \ No newline at end of file