clash-verge/vite.config.ts
2022-03-30 12:36:39 +08:00

15 lines
346 B
TypeScript

import { defineConfig } from "vite";
import svgr from "vite-plugin-svgr";
import react from "@vitejs/plugin-react";
import monaco from "vite-plugin-monaco-editor";
// https://vitejs.dev/config/
export default defineConfig({
root: "src",
plugins: [svgr(), react(), monaco()],
build: {
outDir: "../dist",
emptyOutDir: true,
},
});