mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2024-11-15 19:22:26 +08:00
19 lines
421 B
TypeScript
19 lines
421 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({ languageWorkers: ["editorWorkerService", "typescript"] }),
|
|
],
|
|
build: {
|
|
outDir: "../dist",
|
|
emptyOutDir: true,
|
|
},
|
|
});
|