David Cai | Blog

Posts in “Nodejs”

Webpack: Pack Your Web Assets

Sat, Aug 22, 2015


I just had a presentation to introduce Webpack to our UI Guild in my company. Webpack is a module bundler to pack all kinds of web assets (JavaScript, styles, images, HTML partials, etc.) into one or more bundle JS files.

Let's use NVM

Sun, Jun 14, 2015

Node Version Manager

My colleague just came to me with a troubled face. He couldn’t figure out why his gulp script failed to start up local server where everyone else is able to do so. After a short debugging session, I found that the culprit is Node JS version. Certainly, our gulp scripts have a conflict with the latest Node JS. Now, my colleague has to downgrade his Node JS installation, or does he have to?