sunmao-ui/packages/arco-lib/vite.config.ts
2022-03-03 11:18:51 +08:00

16 lines
315 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'),
},
},
},
});