X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/bd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6..63c3da2af27fcfb1a9893ade03543e3a30949c8d:/vite.config.js diff --git a/vite.config.js b/vite.config.js index e4b56a2..6c17dac 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,11 +1,19 @@ // Consult https://vitejs.dev/config/ to learn about these options import { resolve } from 'path'; +import Svelte from '@sveltejs/vite-plugin-svelte'; export default { + optimizeDeps: { + exclude: ['@roxi/routify'] + }, + plugins: [ + Svelte({ + emitCss: true + }) + ], resolve: { alias: { - $components: resolve('src/components'), - $config: resolve('src/config') + $: resolve('src') } } };