og/vite.config.ts

26 lines
443 B
TypeScript
Raw Permalink Normal View History

2024-05-22 23:47:15 -04:00
import { sveltekit } from '@sveltejs/kit/vite'
import { defineConfig } from 'vite'
import svelteSVG from '@hazycora/vite-plugin-svelte-svg'
export default defineConfig({
plugins: [
svelteSVG({
svgoConfig: {
plugins: [
{
name: 'preset-default',
params: {
overrides: {
removeViewBox: false,
cleanupIds: false
}
}
}
]
},
requireSuffix: true
}),
sveltekit()
]
})