Files
website-products/products/react-apps/alisurvey/vite.config.ts
hsueh chiahao 98dac11ece fix path
2025-09-25 17:40:35 +08:00

18 lines
413 B
TypeScript

/** WARNING: DON'T EDIT THIS FILE */
/** WARNING: DON'T EDIT THIS FILE */
/** WARNING: DON'T EDIT THIS FILE */
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tsconfigPaths from "vite-tsconfig-paths";
function getPlugins() {
const plugins = [react(), tsconfigPaths()];
return plugins;
}
export default defineConfig({
plugins: getPlugins(),
base: '/alisurvey',
});