// 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')
}
}
};