]> git.r.bdr.sh - rbdr/forum/blobdiff - vite.config.js
Ignore dashes in glyph hash
[rbdr/forum] / vite.config.js
index e4b56a21767205a6a22885ee31fbc826ab676086..f73988179f1aa8b728b0c8a6fd45c8c5d1609abf 100644 (file)
@@ -1,11 +1,22 @@
 // Consult https://vitejs.dev/config/ to learn about these options
 import { resolve } from 'path';
 // Consult https://vitejs.dev/config/ to learn about these options
 import { resolve } from 'path';
+import Svelte from '@sveltejs/vite-plugin-svelte';
 
 export default {
 
 export default {
+  optimizeDeps: {
+    exclude: ['@roxi/routify']
+  },
+  plugins: [
+    Svelte({
+      emitCss: true
+    })
+  ],
   resolve: {
     alias: {
       $components: resolve('src/components'),
   resolve: {
     alias: {
       $components: resolve('src/components'),
-      $config: resolve('src/config')
+      $config: resolve('src/config'),
+      $data: resolve('src/data'),
+      $stores: resolve('src/stores')
     }
   }
 };
     }
   }
 };