diff --git a/vite.config.ts b/vite.config.ts index 7760128f..236d3d29 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,8 +1,15 @@ import { paraglideVitePlugin } from '@inlang/paraglide-js' import { sveltekit } from '@sveltejs/kit/vite' import { defineConfig } from 'vite' +import { fileURLToPath, URL } from 'node:url' export default defineConfig({ + resolve: { + alias: { + $src: fileURLToPath(new URL('./src', import.meta.url)) + } + }, + assetsInclude: ['**/*.svg'], plugins: [ sveltekit(), paraglideVitePlugin({