Skip to content

Instantly share code, notes, and snippets.

@bloqhead
Created June 16, 2020 21:13
Show Gist options
  • Save bloqhead/bc99e75f0754b21c8d89c1b48f1f4506 to your computer and use it in GitHub Desktop.
Save bloqhead/bc99e75f0754b21c8d89c1b48f1f4506 to your computer and use it in GitHub Desktop.
Cache busting in Vue.js projects.
module.exports = {
chainWebpack: config => {
config.output
.chunkFilename('[name].js?t=[chunkhash:8]')
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment