Skip to content

Commit

Permalink
Add initial separated route resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Mar 15, 2023
1 parent 6481c92 commit bfbd15c
Show file tree
Hide file tree
Showing 19 changed files with 1,031 additions and 721 deletions.
7 changes: 6 additions & 1 deletion packages/next/src/build/webpack-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,12 @@ export default async function getBaseWebpackConfig(
}
})(),
runtimeChunk: isClient
? { name: CLIENT_STATIC_FILES_RUNTIME_WEBPACK }
? // namespace runtime chunk when multiple workers are present
process.env.__NEXT_PRIVATE_RENDER_WORKER
? {
name: `${CLIENT_STATIC_FILES_RUNTIME_WEBPACK}-${process.env.__NEXT_PRIVATE_RENDER_WORKER}`,
}
: { name: CLIENT_STATIC_FILES_RUNTIME_WEBPACK }
: undefined,
minimize: !dev && (isClient || isEdgeServer),
minimizer: [
Expand Down

0 comments on commit bfbd15c

Please sign in to comment.