unic/estatico-nou

[boilerplate] Reduce startup by lazy-loading dependencies

Closed this issue · 1 comments

  • Move as many dependencies from the top of gulpfile.js into task functions.
  • Test via gulpt, use clean task since it has the least amount of dependencies: npx gulpt clean

Reduced from Total require(): 4750, Total time: 1.9s to Total require(): 627, Total time: 258ms -→ ~90% faster