| import { defineConfig } from 'vite' | |
| import { svelte } from '@sveltejs/vite-plugin-svelte' | |
| import { fileURLToPath, URL } from 'url' | |
| // https://vite.dev/config/ | |
| export default defineConfig({ | |
| plugins: [svelte()], | |
| resolve: { | |
| alias: { | |
| '$lib': fileURLToPath(new URL('./src/lib', import.meta.url)) | |
| } | |
| } | |
| }) | |