clash-verge/vite.config.ts

14 lines
301 B
TypeScript
Raw Normal View History

2021-12-08 18:34:23 +03:00
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
2022-03-26 19:58:17 +03:00
import monaco from "vite-plugin-monaco-editor";
2021-12-08 18:34:23 +03:00
// https://vitejs.dev/config/
export default defineConfig({
root: "src",
2022-03-26 19:58:17 +03:00
plugins: [react(), monaco()],
2021-12-11 19:39:28 +03:00
build: {
outDir: "../dist",
2021-12-21 20:15:04 +03:00
emptyOutDir: true,
2021-12-11 19:39:28 +03:00
},
2021-12-08 18:34:23 +03:00
});