Skip to content

feat(cloudflare-pages): generate wrangler.toml#2353

Merged
pi0 merged 4 commits intomainfrom
feat/cf-pages-conf
Apr 10, 2024
Merged

feat(cloudflare-pages): generate wrangler.toml#2353
pi0 merged 4 commits intomainfrom
feat/cf-pages-conf

Conversation

@pi0
Copy link
Member

@pi0 pi0 commented Apr 10, 2024

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Read wrangler.toml from user root dir (or custom path defined in cloudflare.wrangler.configPath) and merge it with cloudflare.wrangler nitro options (user wrangler.toml has higher priority) and write it to dist/wrangler.toml for cloudflare pages preset.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@pi0 pi0 marked this pull request as ready for review April 10, 2024 16:17
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.

1 participant