Only inject Inter fonts to HtmlWebpackPlugin
This commit is contained in:
@@ -388,7 +388,7 @@ module.exports = (env, argv) => {
|
||||
}),
|
||||
|
||||
new HtmlWebpackInjectPreload({
|
||||
files: [{ match: /.*\.(woff2?|ttf|eot)$/ }],
|
||||
files: [{ match: /.*Inter.*\.woff2?$/ }],
|
||||
}),
|
||||
|
||||
...additionalPlugins,
|
||||
|
||||
Reference in New Issue
Block a user