waveterm/vite.config.ts

17 lines
388 B
TypeScript
Raw Normal View History

import react from "@vitejs/plugin-react";
2024-05-28 21:12:28 +02:00
import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig({
plugins: [react({}), tsconfigPaths()],
publicDir: "public",
build: {
target: "es6",
rollupOptions: {
input: {
app: "public/index.html",
},
},
},
});