Skip to content

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Mar 12, 2025

fixes #442

While the patch is the same, the path to the patched file is different in Next14 (next/dist/server/future/helpers/module-loader/node-module-loader.js). Update the patch to cover both Next14 (add test) and Next 15 (already tested)

Copy link

changeset-bot bot commented Mar 12, 2025

🦋 Changeset detected

Latest commit: 451c41c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@opennextjs/cloudflare Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Mar 12, 2025

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/cloudflare@453

commit: 451c41c

@vicb vicb force-pushed the vicb/pages-api-14 branch from 5c29726 to 1ebb281 Compare March 12, 2025 16:31
@vicb
Copy link
Contributor Author

vicb commented Mar 12, 2025

Thanks James (I had to rebase because it has a dep on my previous PR)

Copy link
Collaborator

@conico974 conico974 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, you did not add a changeset though

@vicb vicb merged commit 95caa87 into main Mar 12, 2025
7 checks passed
@vicb vicb deleted the vicb/pages-api-14 branch March 12, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Error: Dynamic require of "/.next/server/pages/api/hello.js" is not supported
3 participants