In the minified p5.min.js, the friendly Error system is optimized out, so you can't even turn it on if you want.
This removes useful error information, for example a shader that fails to compile will not log anymore.
The default project setup loads p5.min.js and comes without the non-minified version, so it would be nice to have an alternative command that provides both minified and non-minified, while loading the non-minified version in index.html by default.
Hi! yes this is a long-standing request. I'm totally open to it -- just need to carve out some time to implement it. This would be part of a larger project to add settings to the extension.
In the minified
p5.min.js
, thefriendly Error
system is optimized out, so you can't even turn it on if you want.This removes useful error information, for example a shader that fails to compile will not log anymore.
The default project setup loads
p5.min.js
and comes without the non-minified version, so it would be nice to have an alternative command that provides both minified and non-minified, while loading the non-minified version inindex.html
by default.