antiboredom / p5.vscode

A VS Code extension to generate new p5.js project files.
Other
56 stars 16 forks source link

Suggestion: Create non-minified p5.js project #60

Open Clocktown opened 11 months ago

Clocktown commented 11 months ago

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.

antiboredom commented 9 months ago

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.