mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
17 lines
388 B
TypeScript
17 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",
|
|
},
|
|
},
|
|
},
|
|
});
|