refactor: ensure ssr branches are included in esm-bundler build
This commit is contained in:
@@ -141,7 +141,7 @@ export function defineAsyncComponent<
|
||||
// suspense-controlled or SSR.
|
||||
if (
|
||||
(__FEATURE_SUSPENSE__ && suspensible && instance.suspense) ||
|
||||
(__NODE_JS__ && isInSSRComponentSetup)
|
||||
(__SSR__ && isInSSRComponentSetup)
|
||||
) {
|
||||
return load()
|
||||
.then(comp => {
|
||||
|
||||
Reference in New Issue
Block a user