Fix webpack publicPath to match server route.
This commit is contained in:
parent
9ca1f989c5
commit
e6845d8c7a
|
@ -10,7 +10,7 @@ function packPage(page, chunks) {
|
|||
return new HtmlWebpackPlugin({
|
||||
template: `${root}/src/frontend/templates/${page}`,
|
||||
filename: `${root}/generated/templates/${page}`,
|
||||
publicPath: '/scripts/dist',
|
||||
publicPath: '/',
|
||||
scriptLoading: 'defer',
|
||||
chunks: chunks,
|
||||
inject: false,
|
||||
|
|
Loading…
Reference in New Issue