Add bundle option docs

pull/76/head
Carl Törnqvist 2 years ago
parent 4948de116c
commit 598fbfd9b4
No known key found for this signature in database
GPG Key ID: F4C21919B6413B12

@ -1,4 +1,4 @@
# Cloudflare Pages GitHub Action
# Cloudflare Pages GitHub Action
GitHub Action for creating Cloudflare Pages deployments, using the new [Direct Upload](https://developers.cloudflare.com/pages/platform/direct-upload/) feature and [Wrangler](https://developers.cloudflare.com/pages/platform/direct-upload/#wrangler-cli) integration.
@ -76,6 +76,10 @@ manually by adding the argument `branch: YOUR_BRANCH_NAME`.
By default Wrangler will run in the root package directory. If your app lives in a monorepo and you want to run Wrangler from its directory, add `workingDirectory: YOUR_PACKAGE_DIRECTORY`.
### Bundling
When using [Advanced mode](https://developers.cloudflare.com/pages/platform/functions/advanced-mode/) Pages Functions will by default bundle your `_worker.js` file. If you want to disable this, add `bundle: false`.
### Wrangler v3
You can use the newly released [Wrangler v3](https://blog.cloudflare.com/wrangler3/) with the `wranglerVersion` property.

Loading…
Cancel
Save