streaming-data-dashboard/vite.config.ts
2026-06-07 22:56:36 +08:00

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',
},
});