From 539f293b7e8ac369823bf6c96ccfca3b6d60b0f7 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 17 Dec 2020 07:36:34 +0100 Subject: [PATCH] webpack: Fix PatternFly font path Copy the rule that cockpit and cockpit-podman use. Also change the quoting, to avoid pointless diff noise. Now they are perfectly in sync. --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 76fb61a..92035c3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -108,7 +108,7 @@ module.exports = { loader: 'css-loader', options: { sourceMap: true, - url: false + url: false, } }, { @@ -117,7 +117,7 @@ module.exports = { multiple: [ { search: /src:url\("patternfly-icons-fake-path\/pficon[^}]*/g, - replace: "src:url('fonts/patternfly.woff')format('woff');", + replace: 'src:url("../base1/fonts/patternfly.woff") format("woff");', }, { search: /@font-face[^}]*patternfly-fonts-fake-path[^}]*}/g,