Skip to content

Commit d381fed

Browse files
Add-pages-functions-build-command (#210)
* Add command * Update .changeset/purple-planets-join.md Co-authored-by: Pete Bacon Darwin <[email protected]> * Add sourcemap option Co-authored-by: Pete Bacon Darwin <[email protected]>
1 parent 3bbfd4f commit d381fed

File tree

2 files changed

+255
-203
lines changed

2 files changed

+255
-203
lines changed

.changeset/purple-planets-join.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
Expose `wrangler pages functions build` command, which takes the `functions` folder and compiles it into a single Worker.
6+
7+
This was already done in `wrangler pages dev`, so this change just exposes this build command for use in our build image, or for people who want to do it themselves.

0 commit comments

Comments
 (0)