fix(build): broken prod build

This commit is contained in:
Phan An 2020-12-28 22:38:13 +01:00
parent 09e85d75e2
commit 1955f324bb
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit a62c636b46df868f9d22507a03e7f6c11c527c8f
Subproject commit b1937fa3cac04aa66adb19e01357d4a21a869353

View file

@ -8,7 +8,7 @@ mix.webpackConfig({
plugins,
output: {
chunkFilename: mix.inProduction() ? 'js/[name].[chunkhash].js' : 'js/[name].js',
publicPath: 'http://127.0.0.1:8080/'
publicPath: mix.inProduction() ? '/' : 'http://127.0.0.1:8080/'
},
devServer: {
port: 8080,