waveterm/vite.config.ts

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",
},
},
},
});