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.
This commit is contained in:
parent
dff4b66671
commit
539f293b7e
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue