pcaddict08 / Wasabee-IITC

Better Draw Tools for IITC
Apache License 2.0
3 stars 1 forks source link

Code Splitting #1

Closed QPotato closed 5 years ago

QPotato commented 5 years ago

Let's tame the 3k lines beast.

Some explanation of what's going on here. Gulp build the script in the releases folder by taking taking src/main.js and injecting the code every time it find an / inject: something.js / comment.

This is just secuential split of the plugin, with no regard for semantics of the functions or loigc/presentation separation.

Intall dependencies with

npm install

Build a dev version with:

gulp

And a production version with

gulp build-prod