18 lines
343 B
TypeScript
18 lines
343 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react-swc'
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
base: "/",
|
|
plugins: [react()],
|
|
preview: {
|
|
port: 8083,
|
|
strictPort: true,
|
|
},
|
|
server: {
|
|
port: 8083,
|
|
strictPort: true,
|
|
host: true,
|
|
//origin: "http://0.0.0.0:8083",
|
|
},
|
|
}) |