From 58d60b35fd34bb4d00eedf8420ea1e85f1a65aa9 Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 14 Oct 2025 12:25:31 +0200 Subject: [PATCH] fix CI failing with Invalid value "iife" for option "worker.format" UMD and IIFE output formats are not supported for code-splitting builds. see https://github.com/vitejs/vite/issues/18585 --- vite.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite.config.ts b/vite.config.ts index cfc80279..a0bb9de5 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -97,6 +97,9 @@ export default ({ cert: fs.readFileSync("./backend/dev_tls_m.localhost.crt"), }, }, + worker: { + format: "es", + }, build: { minify: mode === "production" ? true : false, sourcemap: true,