From 3e17e9f00da329ebdce02526438a719d1fac1a76 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sun, 19 May 2019 16:09:47 +0100 Subject: [PATCH] tell webpack about woff & woff2 files --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index d01cd6c03e..925ae42f41 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -71,7 +71,7 @@ module.exports = { }, }, { - test: /\.(gif|png|svg|ttf|xml|ico)$/, + test: /\.(gif|png|svg|ttf|woff|woff2|xml|ico)$/, // Use a content-based hash in the name so that we can set a long cache // lifetime for assets while still delivering changes quickly. oneOf: [