Fix worker build
This commit is contained in:
parent
31157aa0ac
commit
68907ce2f3
|
@ -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"],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue