From 7fe28ef82e35e57df9547406f0e50728ab10e493 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Sat, 9 Jan 2021 19:41:57 +0000 Subject: [PATCH] Fix webpack publicPath to match server route. --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 5a18888..5408498 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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,