mirror of
https://github.com/mattermost/focalboard.git
synced 2025-02-01 19:14:35 +02:00
MM-41813 Fix path to fonts loaded by plugin
This commit is contained in:
parent
3625c53527
commit
dd3be3e3ed
@ -112,13 +112,21 @@ const config = {
|
||||
exclude: [/node_modules/],
|
||||
},
|
||||
{
|
||||
test: /\.(png|eot|tiff|svg|woff2|woff|ttf|jpg|gif)$/,
|
||||
test: /\.(png|eot|tiff|svg|ttf|jpg|gif)$/,
|
||||
type: 'asset/resource',
|
||||
generator: {
|
||||
filename: '[name][ext]',
|
||||
publicPath: TARGET_IS_PRODUCT ? undefined : '/static/',
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.(woff2|woff)$/,
|
||||
type: 'asset/resource',
|
||||
generator: {
|
||||
filename: '[name][ext]',
|
||||
publicPath: TARGET_IS_PRODUCT ? undefined : '/plugins/focalboard/static/',
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
devtool,
|
||||
|
Loading…
x
Reference in New Issue
Block a user