mirror of
https://github.com/smartxworks/sunmao-ui.git
synced 2024-12-09 09:20:18 +08:00
16 lines
315 B
TypeScript
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'),
|
|
},
|
|
},
|
|
},
|
|
});
|