File tree Expand file tree Collapse file tree
packages/integrations/cloudflare/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,18 +216,18 @@ export default function createIntegration(args?: Options): AstroIntegration {
216216 ] ,
217217 } ,
218218 } ;
219- } else if ( environmentName === 'client' ) {
220- return {
221- optimizeDeps : {
222- include : [ 'astro/runtime/client/dev-toolbar/entrypoint.js' ] ,
223- // Workaround for https://github.com/vitejs/vite/issues/20867
224- // When dependencies are discovered mid-request (e.g. a linked package
225- // used with client:only), concurrent requests can fail with 504 because
226- // the dep optimizer's metadata object gets replaced during `await info.processing`.
227- ignoreOutdatedRequests : true ,
228- } ,
229- } ;
230- }
219+ } else if ( environmentName === 'client' ) {
220+ return {
221+ optimizeDeps : {
222+ include : [ 'astro/runtime/client/dev-toolbar/entrypoint.js' ] ,
223+ // Workaround for https://github.com/vitejs/vite/issues/20867
224+ // When dependencies are discovered mid-request (e.g. a linked package
225+ // used with client:only), concurrent requests can fail with 504 because
226+ // the dep optimizer's metadata object gets replaced during `await info.processing`.
227+ ignoreOutdatedRequests : true ,
228+ } ,
229+ } ;
230+ }
231231 } ,
232232 } ,
233233 {
You can’t perform that action at this time.
0 commit comments