-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
drops official cloudflare pages support #15065
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
base: next
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: d66d56b The changes in this PR will be included in the next version bump. 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 |
|
| 📦 Package | 🔒 Before | 🔓 After |
|---|---|---|
| @cloudflare/kv-asset-handler | trusted-with-provenance | none |
| @cloudflare/unenv-preset | trusted-with-provenance | none |
| workerd | trusted-with-provenance | none |
| miniflare | trusted-with-provenance | none |
| youch | provenance | none |
| @cloudflare/workerd-darwin-64 | trusted-with-provenance | none |
| @cloudflare/workerd-darwin-arm64 | trusted-with-provenance | none |
| @cloudflare/workerd-linux-64 | trusted-with-provenance | none |
| @cloudflare/workerd-linux-arm64 | trusted-with-provenance | none |
| @cloudflare/workerd-windows-64 | trusted-with-provenance | none |
| wrangler | trusted-with-provenance | none |
9813095 to
4590e8f
Compare
|
Can we keep a fixture with manual Pages config? |
Sure I'll add one. |
4590e8f to
18c6d06
Compare
03e982a to
5a470b0
Compare
| build: { | ||
| inlineStylesheets: 'never', | ||
| client: './', | ||
| server: './_worker.js', | ||
| }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the required bit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah the client & server settings are required.
client: './',
server: './_worker.js',
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And setting the image service to compile I think. I don't think pages has support for the cloudflare binding one.
|
@alexanderniebuhr I had a look locally and the reason it fails is because the file emitted is called |
|
Interesting I wonder why I didn't have that locally before 🤔 |
|
blocked by #15261 |
9f4c8dd to
4d20667
Compare
|
cc @sarah11918 for changeset review |
packages/integrations/cloudflare/test/fixtures/vite-plugin/astro.config.mjs
Outdated
Show resolved
Hide resolved
packages/integrations/cloudflare/test/fixtures/vite-plugin/astro.config.mjs
Outdated
Show resolved
Hide resolved
abbe8d4 to
1d42d1b
Compare
florian-lefebvre
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
1d42d1b to
d66d56b
Compare
Changes
new URL(./, config.outDir)new URL('./_worker.js/', config.outDir)_routes.jsonin public with whatever you need -> example in docs to route everything to the Worker, similar to sveltekit & nuxtTesting
vite-plugintest suite, but configured to deploy to pages.Docs
/cc @withastro/maintainers-docs