Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom branch builds not generating p5.min.js #662

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading