diff options
author | Enrico Guiraud | 2020-01-15 00:25:39 +0100 |
---|---|---|
committer | Enrico Guiraud | 2020-01-15 16:32:12 +0100 |
commit | 2d3b009e13d530b902e7c36e62134a8e72c26ab4 (patch) | |
tree | 59b5774c60ec44136dc93ff38fe2c4a0e040e6d0 | |
parent | e222e4426ddc6cca41ef85d95f3b23378065f94b (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 '')
-rw-r--r-- | webpack.common.js | 7 |
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' ] }, { |