Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Dec 6, 2022
1 parent 9950fc4 commit a5b4195
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/next/build/entries.ts
Expand Up @@ -534,7 +534,7 @@ export function finalizeEntrypoint({
if (isAppLayer) {
return {
dependOn: CLIENT_STATIC_FILES_RUNTIME_MAIN_APP,
// layer: WEBPACK_LAYERS.appClient,
layer: WEBPACK_LAYERS.appClient,
...entry,
}
}
Expand All @@ -548,12 +548,12 @@ export function finalizeEntrypoint({
}
}

// if (isAppLayer) {
// return {
// layer: WEBPACK_LAYERS.appClient,
// ...entry,
// }
// }
if (isAppLayer) {
return {
layer: WEBPACK_LAYERS.appClient,
...entry,
}
}

return entry
}

0 comments on commit a5b4195

Please sign in to comment.