add svg support
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { defineConfig } from "vite";
|
||||
import tsconfigPaths from 'vite-tsconfig-paths';
|
||||
import tsconfigPaths from "vite-tsconfig-paths";
|
||||
import svgr from "vite-plugin-svgr";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), tsconfigPaths()],
|
||||
base: "./"
|
||||
plugins: [react(), svgr(), tsconfigPaths()],
|
||||
base: "./",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user