diff --git a/webpack.config.js b/webpack.config.js index a84492f608b64..1b668e75ccfee 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -188,7 +188,7 @@ export default { type: 'asset/resource', generator: { filename: 'fonts/[name][ext]', - publicPath: '/', // required to remove css/ path segment + publicPath: '../', // required to remove css/ path segment } }, { @@ -196,7 +196,7 @@ export default { type: 'asset/resource', generator: { filename: 'img/webpack/[name][ext]', - publicPath: '/', // required to remove css/ path segment + publicPath: '../', // required to remove css/ path segment } }, ],