clash-verge/vite.config.ts

15 lines
346 B
TypeScript
Raw Permalink Normal View History

2021-12-08 18:34:23 +03:00
import { defineConfig } from "vite";
2022-03-30 07:36:39 +03:00
import svgr from "vite-plugin-svgr";
2021-12-08 18:34:23 +03:00
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-30 07:36:39 +03:00
plugins: [svgr(), 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
});