summaryrefslogtreecommitdiff
path: root/webpack.common.js
diff options
context:
space:
mode:
authorEnrico Guiraud2020-01-15 00:25:39 +0100
committerEnrico Guiraud2020-01-15 16:32:12 +0100
commit2d3b009e13d530b902e7c36e62134a8e72c26ab4 (patch)
tree59b5774c60ec44136dc93ff38fe2c4a0e040e6d0 /webpack.common.js
parente222e4426ddc6cca41ef85d95f3b23378065f94b (diff)
Fix font paths when useCDN is false and no `urlPath` is present
Signed-off-by: Enrico Guiraud <enrico.guiraud@cern.ch>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js
index 7b4cefd6..90789d63 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -396,7 +396,12 @@ module.exports = {
}, {
test: /\.css$/,
use: [
- MiniCssExtractPlugin.loader,
+ {
+ loader: MiniCssExtractPlugin.loader,
+ options: {
+ publicPath: '',
+ }
+ },
'css-loader'
]
}, {