mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-23 08:48:28 +00:00
16 lines
388 B
TypeScript
16 lines
388 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
|
|
export default defineConfig({
|
|
plugins: [react({}), tsconfigPaths()],
|
|
publicDir: "public",
|
|
build: {
|
|
target: "es6",
|
|
rollupOptions: {
|
|
input: {
|
|
app: "public/index.html",
|
|
},
|
|
},
|
|
},
|
|
});
|