diff --git a/vite-storybook.config.ts b/vite-storybook.config.ts index 73e52dc..0258417 100644 --- a/vite-storybook.config.ts +++ b/vite-storybook.config.ts @@ -4,14 +4,4 @@ import react from "@vitejs/plugin-react"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react({ jsxRuntime: "automatic" })], - worker: { - rollupOptions: { - external: ["@codex-storage/sdk-js"], - output: { - globals: { - "@codex-storage/sdk-js": "codex-sdk-js", - }, - }, - }, - }, }); diff --git a/vite.config.ts b/vite.config.ts index a72445d..a1c6a01 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -10,16 +10,6 @@ const { glob } = pkg; // https://vitejs.dev/config/ export default defineConfig({ - worker: { - rollupOptions: { - external: ["@codex-storage/sdk-js", "@tanstack/react-query"], - output: { - globals: { - "@codex-storage/sdk-js": "codex-sdk-js", - }, - }, - }, - }, plugins: [ react(), libInjectCss(),