Skip to content

Commit

Permalink
update migrate-from-0.2 page
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed Jan 25, 2025
1 parent 962fb8c commit 944abd2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pages/cloudflare/migrate-from-0.2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,9 @@ The name of the CLI was changed to `opennextjs-cloudflare`:
##### 5 Add `.open-next` to `.gitignore`

You should change `.worker-next` to `.open-next` in your `.gitignore` file to prevent the build output from being committed to your repository.
You can safely delete the content of the now unused `.worker-next`.
You can safely delete the content of the now unused `.worker-next`.

##### 6. Apply 0.3.x updates

Finally to complete the migration you need to import and call the `initOpenNextCloudflareForDev` utility in your Next.js configuration file
and convert potential `getCloudflareContext()` call, for more details see the [migrate-from-0.3 documentation](./migrate-from-0.3.mdx).

0 comments on commit 944abd2

Please sign in to comment.