deafgain-website/vite.config.ts
2024-12-09 17:12:44 -06:00

20 lines
No EOL
336 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
cors: true,
headers: {
'Access-Control-Allow-Origin': '*'
}
},
preview: {
port: 804,
host: true,
strictPort: true
},
build: {
copyPublicDir: true
}
})