sunmao-ui/packages/arco-lib/vite.config.ts
2022-03-01 17:51:44 +08:00

17 lines
370 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { resolve } from "path";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
build: {
rollupOptions: {
input: {
index: resolve(__dirname, "index.html"),
examples: resolve(__dirname, "examples.html"),
},
},
},
});