12 lines
No EOL
355 B
TypeScript
12 lines
No EOL
355 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
// Add this to suppress the warnings that break the build
|
|
// (they're harmless at runtime but cause Vite to fail in build mode)
|
|
build: {
|
|
quiet: true, // suppresses the "module level directives" warnings
|
|
},
|
|
},
|
|
); |