chiunhau / p5-manager

A p5js template builder & sketches manager. Built for p5js enthusiasts.
350 stars 53 forks source link

Enhancements for larger p5js project #8

Open chiunhau opened 8 years ago

chiunhau commented 8 years ago

By now p5-manager can only compile ES6 syntax into ES5, file by file, which is convenient for small sketch. However when developing larger project, we need more advantage of ES6 and modular javascript features. e.g. import or require some third party libraries, or separate you whole big sketch into components/modules for better management and reuse.

Following features are what I imagine / take into consideration for next release :

mexitalian commented 7 years ago

Hi @chiunhau I've just started using p5-manager today, thanks for the great work!

Was just about to start a feature request and offer help for the import/require functionality. My use case is to create a bundled standalone .js to offer drop–in plugins for UI flourishes.

Planning on adding this with browserify, as it only concerns itself with the bundling of the javascript.

Have started on a fork as I need this piece of functionality ASAP and will report back with progress. Hope it will be of help and am happy to look into further extending the functionality too :)

chiunhau commented 7 years ago

@mexitalian yaaaa thank you! any extended function is appreciated! looking forward to your work 👍

Simon-Claudius commented 5 years ago

Is there any news on adding instance mode? Anything I can help with?