]> git.r.bdr.sh - rbdr/forum/blob - vite.config.js
f73988179f1aa8b728b0c8a6fd45c8c5d1609abf
[rbdr/forum] / vite.config.js
1 // Consult https://vitejs.dev/config/ to learn about these options
2 import { resolve } from 'path';
3 import Svelte from '@sveltejs/vite-plugin-svelte';
4
5 export default {
6 optimizeDeps: {
7 exclude: ['@roxi/routify']
8 },
9 plugins: [
10 Svelte({
11 emitCss: true
12 })
13 ],
14 resolve: {
15 alias: {
16 $components: resolve('src/components'),
17 $config: resolve('src/config'),
18 $data: resolve('src/data'),
19 $stores: resolve('src/stores')
20 }
21 }
22 };