Fix missing icons and colorpicker when mounted on suburl (#15501)

* Fix missing icons and colorpicker when mounted on suburl

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per silverwind

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
tokarchuk/v1.17
zeripath 4 years ago committed by GitHub
parent 953f39822b
commit 6a7090b41d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      webpack.config.js

@ -188,7 +188,7 @@ export default {
type: 'asset/resource', type: 'asset/resource',
generator: { generator: {
filename: 'fonts/[name][ext]', filename: 'fonts/[name][ext]',
publicPath: '/', // required to remove css/ path segment publicPath: '../', // required to remove css/ path segment
} }
}, },
{ {
@ -196,7 +196,7 @@ export default {
type: 'asset/resource', type: 'asset/resource',
generator: { generator: {
filename: 'img/webpack/[name][ext]', filename: 'img/webpack/[name][ext]',
publicPath: '/', // required to remove css/ path segment publicPath: '../', // required to remove css/ path segment
} }
}, },
], ],

Loading…
Cancel
Save