aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack.prod.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-10-29 23:49:06 +0200
committerArmand Philippot <git@armandphilippot.com>2021-10-29 23:49:06 +0200
commit521573493cb5606a5fcef38eabbbc9951324c3a0 (patch)
treefc9961f66d6d9b117c91739d9af0175dfbf2fd03 /config/webpack.prod.js
parent08d189a8582f91ce917755a335e1dcb77aeaa0c5 (diff)
build(webpack): fix prod config for assets
Assets used in Sass was not looking in the right directory once built.
Diffstat (limited to 'config/webpack.prod.js')
-rw-r--r--config/webpack.prod.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/webpack.prod.js b/config/webpack.prod.js
index f97fd65..a2778f5 100644
--- a/config/webpack.prod.js
+++ b/config/webpack.prod.js
@@ -16,6 +16,9 @@ module.exports = {
use: [
{
loader: MiniCssExtractPlugin.loader,
+ options: {
+ publicPath: '../',
+ },
},
'css-loader',
{