diff --git a/webpack.plugin.config.js b/webpack.plugin.config.js index 8578baff..a830e724 100644 --- a/webpack.plugin.config.js +++ b/webpack.plugin.config.js @@ -87,9 +87,13 @@ module.exports = options => { { test: /\.yaml$/, use: ['json-loader', 'yaml-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', }, + { + test: /\.ttf$/, + type: 'asset/inline', + }, { test: /\.po$/, use: [