Builds the application.
Runs sequentially:
- clean
 - test:build
 - lint
 - partials, styles
 - inject
 - inject:partials
 - unknown
 - build:compile
 - assets:dist, version
 
Members
(private, static) build:compile
Compiles the application.
The sequence of compiling the application to a distribution is as follows:
- Add 
ngStrictDito the same element as thengAppis attached to. - Substitute the string 
VERSIONin theindex.htmlwith thepackage.json's version. - Revision the static assets by appending the content hash to their filename.
 - Automatically generate dependency annotations for Angular components with 
ngAnnotate. - Minify the scripts and generate sourcemaps.
 - Minify and optimize the styles with 
csso. - Concatenate, minify and update the references in the 
index.html's build blocks. - Rename the references to their revisioned counterpart.
 - Move everything to the 
paths.build.dist.basefolder. 
Used internally by build. Relies on paths.build.tmp.mainHtml to be present.