Unverified Commit b645f4ce authored by Dmitrii's avatar Dmitrii Committed by GitHub

fix(turbopack): use posix.join for client URL manifest paths on Windows (#90700)

Co-authored-by: 's avatarDmitrii Troitskii <jsleitor@gmail.com>
parent 20753831
...@@ -637,12 +637,12 @@ export class TurbopackManifestLoader { ...@@ -637,12 +637,12 @@ export class TurbopackManifestLoader {
const sortedPageKeys = getSortedRoutes(pagesKeys) const sortedPageKeys = getSortedRoutes(pagesKeys)
let buildManifestPath = join( let buildManifestPath = posix.join(
CLIENT_STATIC_FILES_PATH, CLIENT_STATIC_FILES_PATH,
this.buildId, this.buildId,
'_buildManifest.js' '_buildManifest.js'
) )
let ssgManifestPath = join( let ssgManifestPath = posix.join(
CLIENT_STATIC_FILES_PATH, CLIENT_STATIC_FILES_PATH,
this.buildId, this.buildId,
'_ssgManifest.js' '_ssgManifest.js'
...@@ -837,7 +837,7 @@ export class TurbopackManifestLoader { ...@@ -837,7 +837,7 @@ export class TurbopackManifestLoader {
private writeMiddlewareManifest(): { private writeMiddlewareManifest(): {
clientMiddlewareManifestPath: string clientMiddlewareManifestPath: string
} { } {
let clientMiddlewareManifestPath = join( let clientMiddlewareManifestPath = posix.join(
CLIENT_STATIC_FILES_PATH, CLIENT_STATIC_FILES_PATH,
this.buildId, this.buildId,
TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment