18 lines
302 B
JavaScript
18 lines
302 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
base: '/',
|
|
server: {
|
|
host: '127.0.0.1',
|
|
port: 5173,
|
|
},
|
|
preview: {
|
|
port: 4173,
|
|
},
|
|
build: {
|
|
sourcemap: false,
|
|
},
|
|
})
|