Skip to content

feat: add config flag support for deploy, preview, and upload commands #790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

0ta-mjn
Copy link

@0ta-mjn 0ta-mjn commented Jul 15, 2025

Based on #761 .
Old: #762

Copy link

changeset-bot bot commented Jul 15, 2025

🦋 Changeset detected

Latest commit: ea348db

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

@@ -96,11 +96,14 @@ export function getCacheAssets(opts: BuildOptions): CacheAsset[] {

async function populateR2IncrementalCache(
options: BuildOptions,
populateCacheOptions: { target: WranglerTarget; environment?: string }
populateCacheOptions: { target: WranglerTarget; environment?: string; config?: string }
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please extract the type to top level?
(Maybe add a comment here that the cacheChunkSize is not used)

Copy link
Contributor

@vicb vicb left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot for the PR 🙏

@james-elicx Could you please take a look when you have time

Copy link

pkg-pr-new bot commented Jul 15, 2025

Open in StackBlitz

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

commit: ea348db

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.

Thanks!

@vicb vicb mentioned this pull request Jul 20, 2025
5 tasks
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.

3 participants