]> git.r.bdr.sh - rbdr/forum/blame_incremental - vite.config.js
Update translations
[rbdr/forum] / vite.config.js
... / ...
CommitLineData
1// Consult https://vitejs.dev/config/ to learn about these options
2import { resolve } from 'path';
3import Svelte from '@sveltejs/vite-plugin-svelte';
4
5export 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};