Gulp workflow for Backbone.js using Browserify (CommonJS)
- Npm (ships with Node.js)
- Gulp (
npm install -g gulp
)
NOTE: make sure to set npm prefix to avoid using sudo with npm.
npm install
- sass (
npm install gulp-sass@latest --save-dev
) or - less (
npm install gulp-less@latest --save-dev
) - set 'cssCompiler' and 'cssSrcExtension' to "less" in gulp/config.json
gulp
gulp build