Enable SVG loading

This commit is contained in:
Justin Edmund 2025-09-11 03:54:56 -07:00
parent 42e69b9968
commit d3725b9595

View file

@ -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({