chatbot_final / frontend /vite.config.js
Krish-05's picture
added voice
9f7a5a6 unverified
raw
history blame contribute delete
360 Bytes
// vite.config.js
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react'; // Make sure you have this import
export default defineConfig({
plugins: [react()],
optimizeDeps: {
esbuildOptions: {
loader: {
'.js': 'jsx', // This is where the loader mapping should go for dependency pre-bundling
},
},
},
});