Open dan-massey opened 1 month ago
https://developers.cloudflare.com/workers/frameworks/framework-guides/nextjs/
In step 2, the final suggested line is: experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }
experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }
when it should in fact be assets = { directory = ".worker-next/assets", binding = "ASSETS" }
assets = { directory = ".worker-next/assets", binding = "ASSETS" }
In step 3, the instructions suggest adding to package.json :
package.json
"deploy:worker": "npm run build:worker && wrangler deploy"
But this is later referred to incorrectly twice:
First in the last bullet immediately following the package.json instructions:
npm run deploy: Builds your app, and then deploys it to Cloudflare
Then again in step 6:
deploy via the command line: Terminal window npm run deploy
npm run deploy
No response
Existing documentation URL(s)
https://developers.cloudflare.com/workers/frameworks/framework-guides/nextjs/
What changes are you suggesting?
In step 2, the final suggested line is:
experimental_assets = { directory = ".worker-next/assets", binding = "ASSETS" }
when it should in fact be
assets = { directory = ".worker-next/assets", binding = "ASSETS" }
In step 3, the instructions suggest adding to
package.json
:But this is later referred to incorrectly twice:
First in the last bullet immediately following the
package.json
instructions:Then again in step 6:
Additional information
No response