Skip to content

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Jul 21, 2025

wrangler will start loading .env files after this PR is released

Next environments are limited to production, development, and test and they might not match the wrangler environment.

The way to define which of the .env file to load is to use the NEXTJS_ENV env variable.

Copy link

pkg-pr-new bot commented Jul 21, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@opennextjs/cloudflare@800

commit: 98e1836

@vicb vicb requested review from conico974 and james-elicx July 21, 2025 09:30
Copy link
Collaborator

@james-elicx james-elicx left a comment

Choose a reason for hiding this comment

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

probably want a changeset as well

Copy link

changeset-bot bot commented Jul 21, 2025

🦋 Changeset detected

Latest commit: 98e1836

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

@vicb
Copy link
Contributor Author

vicb commented Jul 21, 2025

probably want a changeset as well

I didn't include a changeset initially because there is actually no change in behavior and that feature has not been released yet. But you're right it still might be helpful.

Thanks for the review

@vicb vicb merged commit a3e7551 into main Jul 21, 2025
7 checks passed
@vicb vicb deleted the vicb/env branch July 21, 2025 09:47
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.

2 participants