Build system

There were times when JavaScript was used as a toy language, those days are long over. In recent years, JavaScript has become a mainstream language. New, large and complex applications are being written and deployed every day. Rising complexity means more code being written. These days it is not uncommon to see projects consisting of tens of thousands of lines of JavaScript code.

It is no longer practical to have one JavaScript file that can be simply included in an HTML document; we need a build system. Our JavaScript and CSS files will undergo many checks and transformations before being deployed on productions servers. Some examples of those transformations include:

  • JavaScript source code must be checked for compliance with coding ...

Get Mastering Web Application Development with AngularJS now with O’Reilly online learning.

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