Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

feat: Add cloudflare pages support #21

Open
sushichan044 opened this issue Apr 20, 2024 · 2 comments
Open

feat: Add cloudflare pages support #21

sushichan044 opened this issue Apr 20, 2024 · 2 comments

Comments

@sushichan044
Copy link
Contributor

As mentioned in this document, some of wrangler.toml keys are different between Worker and Pages.

https://developers.cloudflare.com/pages/functions/wrangler-configuration/#differences-using-wranglertoml-for-pages-functions-and-workers

Do you have any ideas on how to deal with these differences?
The most obvious one would be to have different defineConfig() functions.

@sushichan044 sushichan044 changed the title Handling the difference between Worker and Pages question: Handling the difference between Worker and Pages Apr 20, 2024
@sushichan044 sushichan044 changed the title question: Handling the difference between Worker and Pages suggestion: Add cloudflare pages support May 6, 2024
@sushichan044
Copy link
Contributor Author

Hi @sor4chi !
Can I add support for Cloudflare Pages? I would probably add a function like definePagesConfig.

@sushichan044 sushichan044 changed the title suggestion: Add cloudflare pages support feat: Add cloudflare pages support May 6, 2024
@sor4chi
Copy link
Owner

sor4chi commented May 6, 2024

@sushi-chaaaan
Oh, I completely forgot about the existence of this issue, sorry.
Of course, contributions are welcome, please!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants