diydrones/droneshare — pull request #25 by mrpollo (2014-06-06 22:47:01+00:00)
Title: fixes grunt prod

Commit contents

- Make sure Package.json has accurate info for this project
- Fix template urls on routers and views for [$templateCache](https://docs.angularjs.org/api/ng/service/$templateCache)
- [Update imagemin npm package to 0.7.1](https://github.com/gruntjs/grunt-contrib-imagemin/issues/218)
- Workaround for revisions on images since the revision script only works on main template and there were some images on a directive view (navbar directive)
- remove comments and fix trailling whitespace overall (touches some files)

End result is:

- Each resulting asset has been marked with a **REVISION** hash string (each independent from the rest) this helps with cache and will allow us to bust cache in case we need an urgent push to CloudFront
- Minified and compiled (underscore tags) ```index.html``` this helps with the include tags for development/production on production we pull digested asset files
- Minified scripts and dependencies (from bower) into ```scripts.min.REVISION.js``` this file also includes cached views (this helps performance only 1 call for the entire app instead of requiring independent view html files and compilation on everycall)
- Minified all of the shims for HTML5 apis and IE specific polyfills into ```ie.min.REVISION.js```
- Image Optimization on all image assets (lots of bytes saved here)
- Minify all of the CSS files ```styles.min.REVISION.css```

Lets hope this works! :sun_with_face: