From 68907ce2f3255dc5b056b709041b8d350268cecf Mon Sep 17 00:00:00 2001 From: Arnaud Date: Tue, 20 Aug 2024 16:10:02 +0200 Subject: [PATCH] Fix worker build --- vite.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 7638414..a588652 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,6 +3,8 @@ import { defineConfig } from "vite"; // https://vitejs.dev/config/ export default defineConfig({ worker: { - format: "es", + rollupOptions: { + external: ["@codex/sdk-js"], + }, }, });