Skip to content

Commit

Permalink
Fix custom branch builds not generating p5.min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
davepagurek committed Dec 18, 2024
1 parent 348f77d commit cc126f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/parsers/reference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cc126f0

Please sign in to comment.