Table of Content
Minify your code
Codes are treated differently in development and production environment.
We should make the code follows the latest best practice. JSHint provides some help on pointing out the issues in the JavaScript code. Next, we want to minified the JavaScript and CSS code to make the file size much smaller. There are different tools for this purpose, UglifyJS, Minify CSS, Closure, just to name some.
If you are looking for command line tool to automate the process, GruntJS is one that used by many big parties.
What’s next? We’re going to take a look at “Adding the web app to iOS home screen”.