You've already forked Nano-Banana-AI-Image-Editor
18 lines
436 B
TypeScript
18 lines
436 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
optimizeDeps: {
|
|
exclude: ['lucide-react'],
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
'react-day-picker/dist/locale/zh-CN': 'date-fns/locale/zh-CN',
|
|
'react-day-picker/dist/locale': 'date-fns/locale',
|
|
'react-day-picker/locale': 'date-fns/locale',
|
|
},
|
|
},
|
|
});
|