diff --git a/packages/next/build/webpack/plugins/flight-client-entry-plugin.ts b/packages/next/build/webpack/plugins/flight-client-entry-plugin.ts index bb781e778b3b..c048c8b90817 100644 --- a/packages/next/build/webpack/plugins/flight-client-entry-plugin.ts +++ b/packages/next/build/webpack/plugins/flight-client-entry-plugin.ts @@ -189,7 +189,7 @@ export class FlightClientEntryPlugin { dependency: layoutOrPageDependency, }) - const isAbsoluteRequest = layoutOrPageRequest[0] === '/' + const isAbsoluteRequest = path.isAbsolute(layoutOrPageRequest) // Next.js internals are put into a separate entry. if (!isAbsoluteRequest) { diff --git a/packages/next/build/webpack/plugins/flight-manifest-plugin.ts b/packages/next/build/webpack/plugins/flight-manifest-plugin.ts index 99859a5bc437..00aefb985d64 100644 --- a/packages/next/build/webpack/plugins/flight-manifest-plugin.ts +++ b/packages/next/build/webpack/plugins/flight-manifest-plugin.ts @@ -201,7 +201,7 @@ export class FlightManifestPlugin { }, } } else { - // It is possible that there are mtuliepl modules with the same resouce, + // It is possible that there are multiple modules with the same resource, // e.g. extracted by mini-css-extract-plugin. In that case we need to // merge the chunks. manifest[resource].default.chunks = [