19 lines
338 B
TypeScript
19 lines
338 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
base: './',
|
|
server: {
|
|
port: 3000,
|
|
host: '0.0.0.0'
|
|
},
|
|
preview: {
|
|
port: 4173,
|
|
host: '0.0.0.0',
|
|
allowedHosts: ['bitfielder.raphaelforment.fr']
|
|
},
|
|
worker: {
|
|
format: 'es'
|
|
}
|
|
}) |