// 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')
+ $config: resolve('src/config'),
+ $data: resolve('src/data'),
+ $stores: resolve('src/stores')
}
}
};