Set publicPath in production webpack config

This commit is contained in:
Ken-Håvard Lieng 2018-11-07 01:35:53 +01:00
parent ca222ff10d
commit ed40b956b7
5 changed files with 45 additions and 43 deletions

View file

@ -14,7 +14,8 @@ module.exports = {
},
output: {
filename: '[name].[chunkhash:8].js',
chunkFilename: '[name].[chunkhash:8].js'
chunkFilename: '[name].[chunkhash:8].js',
publicPath: '/'
},
resolve: {
alias: {