]>
Commit | Line | Data |
---|---|---|
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 | }; |