Sample web app compiled with grunt that versions assets and compiles a production html page with versioned assets.
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Gruntfile.js
README.md
index-dev.html
index-production-template.html
main.js
package.json
style.css

README.md

grunt-release-boilerplate

Sample web app compiled with grunt that versions assets and compiles a production html page with versioned assets.

  • Run npm install first to init all grunt and grunt plugins
  • grunt to compile distribution files (dist/* and index-production.html) everytime you want to release.
  • Place htaccess on your production environment to serve index-production.html.