7 days of WordPress plugins, themes & templates - for free!* Unlimited asset downloads! Start 7-Day Free Trial
FREELessons: 16Length: 2.2 hours

Next lesson playing in 5 seconds

  • Overview
  • Transcript

4.1 Browserify Your Modules into Client-Side JS

How do you handle your JavaScript dependencies in the client? RequireJS? The "one file" method? The "put <script> tags in order and pray" method? If you like the Node.js module syntax and make any use of NPM, Browserify will wrap up all of your JS modules into one (or several) files to be included in your HTML. This tool is severely under-used in the front-end community, in my opinion. Let's change that!