I am using npm grunt-cache-bust for cache busting static files.
I have following folder structure
- app
- scripts
- app.js
- app.config.js
- controllers
- controller1.js
- controller12.js
- index.html
- Gruntfile.js
In gruntfile.js i have added basic configuration
cacheBust: {
taskName: {
options: {
assets: ['dist/scripts/**'],
jsonOutput: true,
createCopies: true,
deleteOriginals: false
},
src: ['dist/index.html',]
}
}
It busts the file given in src but does not replace the reference in index.html
Is there something am I missing?