clash-verge-rev/vite.config.ts
2022-03-27 00:58:17 +08:00

14 lines
301 B
TypeScript

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