Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/petite-kids-win.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/cloudflare': patch
---

Removes a workaround that prevented the automatic update of dev server when vite optimises a dependency.
5 changes: 0 additions & 5 deletions packages/integrations/cloudflare/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,6 @@ export default function createIntegration({
return {
optimizeDeps: {
include: ['astro/runtime/client/dev-toolbar/entrypoint.js'],
// Workaround for https://github.com/vitejs/vite/issues/20867
// When dependencies are discovered mid-request (e.g. a linked package
// used with client:only), concurrent requests can fail with 504 because
// the dep optimizer's metadata object gets replaced during `await info.processing`.
ignoreOutdatedRequests: true,
},
};
}
Expand Down
Loading