File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
packages/kit/src/runtime/server/page Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -531,15 +531,11 @@ export async function render_response({
531531 // `client.app` is a proxy for `bundleStrategy === 'split'`
532532 const boot = client . inline
533533 ? `${ client . inline . script }
534- {
535- const appNS = __sveltekit_${ options . version_hash } .app;
536- const app = appNS.app || appNS;
537- if (${ global } .data && ${ global } .__deferred) {
538- ${ global } .data = processDeferred(${ global } .data, app);
539- delete ${ global } .__deferred;
540- }
541- app.start(${ args . join ( ', ' ) } );
542- }`
534+ if (${ global } .data && ${ global } .__deferred) {
535+ ${ global } .data = processDeferred(${ global } .data, __sveltekit_${ options . version_hash } .app);
536+ delete ${ global } .__deferred;
537+ }
538+ __sveltekit_${ options . version_hash } .app.start(${ args . join ( ', ' ) } );`
543539 : client . app
544540 ? `Promise.all([
545541 import(${ s ( prefixed ( client . start ) ) } ),
You can’t perform that action at this time.
0 commit comments