Switch to query string hash for JS files
This commit is contained in:
parent
36fef80b9e
commit
df1ffe510a
|
@ -22,7 +22,7 @@ mix.js('resources/js/app.js', 'public/js')
|
||||||
tailwindcss('tailwind.js'),
|
tailwindcss('tailwind.js'),
|
||||||
])
|
])
|
||||||
.webpackConfig({
|
.webpackConfig({
|
||||||
output: { chunkFilename: 'js/[name].[contenthash].js' },
|
output: { chunkFilename: 'js/[name].js?id=[chunkhash]' },
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
'vue$': 'vue/dist/vue.runtime.esm.js',
|
'vue$': 'vue/dist/vue.runtime.esm.js',
|
||||||
|
|
Loading…
Reference in New Issue