Skip to content

Commit c95ecdd

Browse files
Tweak output filename chunking configuration
1 parent e79cb57 commit c95ecdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/inertiajs-stubs/webpack.mix.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ const path = require('path')
33

44
mix.js('resources/js/app.js', 'public/js')
55
.sass('resources/sass/app.scss', 'public/css')
6-
output: { chunkFilename: 'js/[name].[contenthash].js' },
6+
.webpackConfig({
7+
output: { chunkFilename: 'js/[name].js?id=[chunkhash]' },
78
resolve: {
89
alias: {
910
'vue$': 'vue/dist/vue.runtime.js',

0 commit comments

Comments
 (0)