Skip to content

Commit

Permalink
Fix local builds of Wrangler (#6870)
Browse files Browse the repository at this point in the history
* Fix local builds of Wrangler

* Create fuzzy-cows-camp.md
  • Loading branch information
penalosa authored Oct 1, 2024
1 parent 23f6c8d commit dc9039a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-cows-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wrangler": patch
---

fix: Include `workerd` in the external dependecies of Wrangler to fix local builds.
2 changes: 1 addition & 1 deletion packages/wrangler/scripts/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const EXTERNAL_DEPENDENCIES = [
// unenv must be external because it contains unenv/runtime code which needs to be resolved
// and read when we are bundling the worker application
"unenv",
"workerd/worker.mjs",
"workerd",
];

const pathToPackageJson = path.resolve(__dirname, "..", "package.json");
Expand Down

0 comments on commit dc9039a

Please sign in to comment.