Totally in keeping with my New Year’s Resolution, here is a lovely new blog post! And it’s a continuation of my new development process. The last post in the series detailed my switch to using pump instead of pipe in my Gulp task. Today’s post is about minifying javascript, which is sometimes called “uglifying”. The reason being that this…
Tag: gulp
Using pump instead of pipe
One thing that I quickly discovered whilst using Gulp to automate my development process, was the piping the results through from one plugin to another could often go wrong, and it was often hard to trap the reason and get proper error messaging out. Then I discovered some example code which pointed me to pump:…
Adding Browserify into the mix
Having already written my first gulp task, I was ready to get a bit more advanced. My first task was to concatenate javascript files, including putting my local version of jQuery in front of my own javascript, so there was a single file to download, with all the required plugins before. However, I’d already heard…
First Gulp task – concatenation
I recently started using a new development process, using Gulp to automate development tasks. I thought I’d start off easy, so I’d concatenate my existing javascript files into a single file. You might ask, why would you want to do this? And my answer would be, you want to reduce the number of items fetched…
New development process with Git and Gulp
Whilst working on my new project, Privacy Tools, I decided that I really needed to sort out my development process. Not that there was anything particularly wrong with it, it’s just very old school and manual. I literally write every line of code (HTML, PHP, CSS and Javascript) by hand, in Notepad++. This doesn’t even syntax…