Earlier, we installed our build script along with the HTML5 Mobile Boilerplate. We'll now explore the build script a bit further by customizing it for our purposes. We'll need to make sure our styles, scripts, images, and markup are optimized for deployment. It will also be necessary for us to set up multiple environments to test our application thoroughly.
Let's start by configuring the build script for our needs, this way we'll have a custom build script that works for us and gets us going immediately.
First, let's make sure our scripts get concatenated and minified. So let's open all our
index.html files and wrap all our scripts at the bottom of the page ...