17 lines
270 B
JavaScript
17 lines
270 B
JavaScript
import react from '@vitejs/plugin-react-swc'
|
|
import { defineConfig } from 'vite'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
preview: {
|
|
port: 3000,
|
|
},
|
|
build: {
|
|
outDir: 'build',
|
|
}
|
|
})
|