Skip to content

Commit e439eb5

Browse files
authored
Merge pull request #662 from processing/fix/custom-branch-build
Fix custom branch builds not generating p5.min.js
2 parents 348f77d + cc126f0 commit e439eb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/parsers/reference.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export const parseLibraryReference =
3636

3737
// If we're using a custom build of p5 instead of a public release, create
3838
// a build and copy it to the specified path
39-
if (process.env.P5_LIBRARY_PATH) {
40-
await createP5Build('p5.js', '../../../public' + process.env.P5_LIBRARY_PATH)
39+
if (process.env.PUBLIC_P5_LIBRARY_PATH) {
40+
await createP5Build('p5.js', '../../../public' + process.env.PUBLIC_P5_LIBRARY_PATH)
4141
}
4242

4343
// Copy the reference output so we can process it

0 commit comments

Comments
 (0)