Switch to query string hash for JS files

This commit is contained in:
Jonathan Reinink 2019-05-21 11:27:08 -04:00
parent 36fef80b9e
commit df1ffe510a
1 changed files with 1 additions and 1 deletions

2
webpack.mix.js vendored
View File

@ -22,7 +22,7 @@ mix.js('resources/js/app.js', 'public/js')
tailwindcss('tailwind.js'),
])
.webpackConfig({
output: { chunkFilename: 'js/[name].[contenthash].js' },
output: { chunkFilename: 'js/[name].js?id=[chunkhash]' },
resolve: {
alias: {
'vue$': 'vue/dist/vue.runtime.esm.js',