transicion-desordenada-diablo/frontend/vite.config.ts

18 lines
451 B
TypeScript
Raw Normal View History

2023-12-07 23:12:27 +00:00
import { defineConfig } from "vite";
import { svelte } from "@sveltejs/vite-plugin-svelte";
import svelteSVG from "vite-plugin-svelte-svg";
2023-12-06 22:58:38 +00:00
// https://vitejs.dev/config/
export default defineConfig({
2023-12-07 23:22:02 +00:00
build: {
sourcemap: true,
},
2023-12-07 23:12:27 +00:00
plugins: [
svelte(),
svelteSVG({
svgoConfig: {}, // See https://github.com/svg/svgo#configuration
requireSuffix: true, // Set false to accept '.svg' without the '?component'
}),
],
});