Skip to content

Commit

Permalink
Specify peerDependencies as external packages in vite build
Browse files Browse the repository at this point in the history
  • Loading branch information
AdiRishi committed Nov 29, 2023
1 parent 317dc2e commit 8ffa8ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wet-windows-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cachified-adapter-cloudflare-kv": patch
---

Specify peerDependencies as external packages in vite build
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export default defineConfig({
fileName: "index",
formats: ["es", "cjs"],
},
rollupOptions: {
external: ["@epic-web/cachified", "@cloudflare/workers-types"],
},
},
plugins: [
typescript({
Expand Down

0 comments on commit 8ffa8ff

Please sign in to comment.