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