From 51a0d6d50c37294ba8a299ba0ec7d0c6a517cc90 Mon Sep 17 00:00:00 2001 From: sebastien Date: Tue, 7 Jan 2025 16:15:05 +0100 Subject: [PATCH] try posix resolve for windows --- packages/docusaurus/src/ssg/ssgExecutor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus/src/ssg/ssgExecutor.ts b/packages/docusaurus/src/ssg/ssgExecutor.ts index ba3003e6757c..8877f3513828 100644 --- a/packages/docusaurus/src/ssg/ssgExecutor.ts +++ b/packages/docusaurus/src/ssg/ssgExecutor.ts @@ -74,7 +74,7 @@ const createPooledSSGExecutor: CreateSSGExecutor = async ({ async () => { const Tinypool = await import('tinypool').then((m) => m.default); return new Tinypool({ - filename: path.resolve(__dirname, './ssg.js'), + filename: path.posix.resolve(__dirname, './ssg.js'), minThreads: numberOfThreads, maxThreads: numberOfThreads, concurrentTasksPerWorker: 1,