Only inject Inter fonts to HtmlWebpackPlugin
This commit is contained in:
parent
87806b8a67
commit
8abc7cd87c
2 changed files with 1 additions and 4 deletions
|
@ -388,7 +388,7 @@ module.exports = (env, argv) => {
|
|||
}),
|
||||
|
||||
new HtmlWebpackInjectPreload({
|
||||
files: [{ match: /.*\.(woff2?|ttf|eot)$/ }],
|
||||
files: [{ match: /.*Inter.*\.woff2?$/ }],
|
||||
}),
|
||||
|
||||
...additionalPlugins,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue