15 lines
279 B
TypeScript
15 lines
279 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': '*'
|
|
}
|
|
},
|
|
optimizeDeps: {
|
|
include: ['react-icons']
|
|
}
|
|
})
|