I’ve recently switched from Codekit to using gulp and browserify in the command line. It works great until you need to use something that has non-JS files with it (e.g. CSS files).
For example, this works fine:
var $ = require('jquery');
But if I want to add
I can get it to work by installing the jQuery plugin using bower or npm and then linking to the JS and the CSS in the dist folder. This is fine, I just wondered, is there a better way of doing it? Is browserify mainly for pure JS modules?