From cc126f0dadd37ffe85975c66ee28e6a0c909138a Mon Sep 17 00:00:00 2001 From: Dave Pagurek Date: Wed, 18 Dec 2024 11:55:55 -0500 Subject: [PATCH] Fix custom branch builds not generating p5.min.js --- src/scripts/parsers/reference.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/parsers/reference.ts b/src/scripts/parsers/reference.ts index 82ef08b84c..1de96d306a 100644 --- a/src/scripts/parsers/reference.ts +++ b/src/scripts/parsers/reference.ts @@ -36,8 +36,8 @@ export const parseLibraryReference = // If we're using a custom build of p5 instead of a public release, create // a build and copy it to the specified path - if (process.env.P5_LIBRARY_PATH) { - await createP5Build('p5.js', '../../../public' + process.env.P5_LIBRARY_PATH) + if (process.env.PUBLIC_P5_LIBRARY_PATH) { + await createP5Build('p5.js', '../../../public' + process.env.PUBLIC_P5_LIBRARY_PATH) } // Copy the reference output so we can process it