Skip to content

Commit

Permalink
try posix resolve for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Jan 7, 2025
1 parent 489122f commit 51a0d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus/src/ssg/ssgExecutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 51a0d6d

Please sign in to comment.