Chapter 11. Packaging and deployment

This chapter covers

  • Understanding JavaScript application packaging and assembly
  • Creating a project structure
  • Minimizing and concatenating files and compiling templates
  • Using Grunt.js

JavaScript build tools are, sadly, still at their infancy. A range of products compete to solve the tasks of application assembly: running unit tests, performing linting (ensuring that your JavaScript code is clean), minifying source code, and packaging your application.

The problem with the existing tools is that they tend to be hard to use and give error messages that are hard to understand, even for developers. In addition, the JavaScript community has yet to agree on a standard for managing application dependency ...

Get Ember.js in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.