Skip to content

Commit

Permalink
Fix missing icons and colorpicker when mounted on suburl (#15501)
Browse files Browse the repository at this point in the history
* Fix missing icons and colorpicker when mounted on suburl

Signed-off-by: Andrew Thornton <[email protected]>

* as per silverwind

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: Lauris BH <[email protected]>
  • Loading branch information
zeripath and lafriks authored Apr 15, 2021
1 parent 953f398 commit 6a7090b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,15 @@ export default {
type: 'asset/resource',
generator: {
filename: 'fonts/[name][ext]',
publicPath: '/', // required to remove css/ path segment
publicPath: '../', // required to remove css/ path segment
}
},
{
test: /\.png$/i,
type: 'asset/resource',
generator: {
filename: 'img/webpack/[name][ext]',
publicPath: '/', // required to remove css/ path segment
publicPath: '../', // required to remove css/ path segment
}
},
],
Expand Down

0 comments on commit 6a7090b

Please sign in to comment.