24 lines
445 B
TypeScript
24 lines
445 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
open: true,
|
|
port: 3003,
|
|
},
|
|
optimizeDeps: {
|
|
exclude: ['lucide-react'],
|
|
},
|
|
build: {
|
|
outDir: 'dist',
|
|
sourcemap: false,
|
|
},
|
|
preview: {
|
|
host: '0.0.0.0',
|
|
port: 80,
|
|
open: false,
|
|
allowedHosts: ['sozsoft.com', 'localhost'],
|
|
},
|
|
});
|