Fix worker build

This commit is contained in:
Arnaud 2024-08-20 16:10:02 +02:00
parent 31157aa0ac
commit 68907ce2f3
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
1 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@ import { defineConfig } from "vite";
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
worker: { worker: {
format: "es", rollupOptions: {
external: ["@codex/sdk-js"],
},
}, },
}); });