11 lines
No EOL
293 B
TypeScript
11 lines
No EOL
293 B
TypeScript
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
worker: {
|
|
// This ensures your worker is bundled as an ES module,
|
|
// which is required for modern browsers and deployment.
|
|
format: 'es',
|
|
},
|
|
}); |