fixed fallback font embedding (powerline icons) - fixes #6071, fixes #3346, fixes #5189

This commit is contained in:
Eugene Pankov 2022-04-02 18:06:35 +02:00
parent 94b3212afb
commit 4dadba7f80
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -87,9 +87,13 @@ module.exports = options => {
{ test: /\.yaml$/, use: ['json-loader', 'yaml-loader'] }, { test: /\.yaml$/, use: ['json-loader', 'yaml-loader'] },
{ test: /\.svg/, use: ['svg-inline-loader'] }, { test: /\.svg/, use: ['svg-inline-loader'] },
{ {
test: /\.(ttf|eot|otf|woff|woff2|ogg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, test: /\.(eot|otf|woff|woff2|ogg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
type: 'asset', type: 'asset',
}, },
{
test: /\.ttf$/,
type: 'asset/inline',
},
{ {
test: /\.po$/, test: /\.po$/,
use: [ use: [