Fix build paths.

This commit is contained in:
Bauke 2023-04-26 12:43:05 +02:00
parent daa46b8755
commit e03f163c30
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 2 deletions

View File

@ -34,9 +34,9 @@ const test = process.env.TEST === "true";
const watch = process.env.WATCH === "true"; const watch = process.env.WATCH === "true";
// Create absolute paths to various directories. // Create absolute paths to various directories.
const buildDir = toAbsolutePath("build"); const buildDir = toAbsolutePath("../build");
const outDir = path.join(buildDir, browser); const outDir = path.join(buildDir, browser);
const sourceDir = toAbsolutePath("source"); const sourceDir = toAbsolutePath("../source");
// Ensure that the output directory exists. // Ensure that the output directory exists.
await fsp.mkdir(outDir, {recursive: true}); await fsp.mkdir(outDir, {recursive: true});