From 6459d68ee7e0e8e853e4dcaf5f5fb2df6086ca6f Mon Sep 17 00:00:00 2001 From: "Ibrahima G. Coulibaly" Date: Thu, 3 Apr 2025 02:35:02 +0000 Subject: [PATCH] fix: vite worker format --- vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index ac5243e..e6faab7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -17,5 +17,6 @@ export default defineConfig({ environment: 'happy-dom', setupFiles: '.vitest/setup', include: ['**/*.test.{ts,tsx}'] - } + }, + worker: { format: 'es' } });