Predeployment
Once the majority of an application's development phase has been completed, at least for the initial launch, it is important to run all of the code through a build process that optimizes the file size through compression of images and minification of text files. This piece of the workflow was not overlooked by Yeoman and is available through the use of the $ grunt build
command. As mentioned in the section on Grunt, the /Gruntfile.js
file defines where built code is placed once it is optimized for deployment. Yeoman's default location for built code is the /dist
folder, which might or might not exist depending on whether you have run the grunt build
command before.