Daily Shaarli

All links of one day in a single page.

Previous day

September 14, 2017

Next day

How to train your Gulpfile to know about environment configurations
thumbnail

“I want to write a Gulpfile that I can use for development and production, so that I can conditionally execute tasks like minifying. I have done this before by duplicating tasks, but it doesn’t feel right because I want my gulpfile to be as DRY as possible. Also, the company I work for has several websites that each need to a build file, which has already proven to be a maintenance nightmare. I also worry that adding complexity will create tech debt for my team, so I want to use common conventions in my Gulpfile’s API that just work.” — every developer