Snivilization / nodejs-esm-starter

Starter project for NodeJs esm packages, with rollup, typescript, mocha, chai, eslint, istanbul/nyc, gulp and i18next
MIT License
6 stars 3 forks source link

unify gulp production and development streams #24

Closed plastikfan closed 2 years ago

plastikfan commented 2 years ago

Currently, production and development have their own build streams. However, its probably better and more maintainable to combine into the same build stream using gulp-if as a discriminator.

plastikfan commented 2 years ago

An example of mode dependent functionality inside a gulp file:

plastikfan commented 2 years ago

There is a whole set of gulp reciples available here: Gulp Recipes