14 lines
258 B
TypeScript
14 lines
258 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig(() => ({
|
|
plugins: [react()],
|
|
base: process.env.VITE_BASE || '/',
|
|
build: {
|
|
outDir: 'dist',
|
|
},
|
|
server: {
|
|
host: '127.0.0.1',
|
|
},
|
|
}));
|