processing / p5.js-website

New p5.js website!
http://p5js.org
MIT License
18 stars 89 forks source link

fix: "process" not found on local dev environment #628

Closed shibomb closed 3 weeks ago

shibomb commented 3 weeks ago

Solves #627

changes: It also determines if the process object is undefined.

davepagurek commented 3 weeks ago

I think we still need to read the env vars in order for testing custom p5 builds to work, so I think we can't just fall back on the CDN here. I'm going to look into an alternate way to pass that data in that works with hydrated components too.

shibomb commented 3 weeks ago

@davepagurek Thank you for your response! It works fine in my local environment with #629. I'll close this pull request.