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