From eb5e71d90abc46fe9ac94e8b68fece6c34ab7e96 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 26 Jul 2023 12:35:59 +0200 Subject: [PATCH] relative urls in webpack emitted bundles --- frontend/webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 4ecf4fe..5b579f4 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -24,7 +24,8 @@ const config = { chunkFilename: '[chunkhash].js', filename: '[chunkhash].js', path: path.resolve(__dirname, 'dist', `wp-${webpackVersion}`), - publicPath: `/wp-${webpackVersion}/`, + // publicPath: `/wp-${webpackVersion}/`, + publicPath: `./`, hashFunction: 'shake256', hashDigestLength: 36 },