mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +01:00
b9f6da57f9
Note: this does not add backwards navigation and will break if attempting to open certain types of files.
18 lines
432 B
TypeScript
18 lines
432 B
TypeScript
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
import tsconfigPaths from "vite-tsconfig-paths";
|
|
|
|
export default defineConfig({
|
|
plugins: [react({}), tsconfigPaths()],
|
|
define: { "process.env": process.env },
|
|
publicDir: "public",
|
|
build: {
|
|
target: "es6",
|
|
rollupOptions: {
|
|
input: {
|
|
app: "public/index.html",
|
|
},
|
|
},
|
|
},
|
|
});
|