Renames built ionic files to help cache bust for web deployments. This will use current date to randomize the names of the default files that Ionic builds (main.js, main.css, and polyfills.js) and replace references to them.
Install via NPM:
npm i ionic-cache-buster -g
This is intended for use with Ionic 2 Browser builds. After your build:
ionic build browser
Run this command:
ionic-cache-buster
This is an early work in progress. This currently will not work if you rename your default build directories.