19 lines
363 B
JavaScript
19 lines
363 B
JavaScript
import { defineConfig } from 'vite'
|
|
import { resolve } from 'path';
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
rollupOptions: {
|
|
input: {
|
|
main: resolve(__dirname, 'index.html'),
|
|
uikit: resolve(__dirname, 'uikit.html'),
|
|
},
|
|
},
|
|
},
|
|
plugins: [react()],
|
|
server: {
|
|
port: 5173,
|
|
},
|
|
})
|