tell webpack about woff & woff2 files

This commit is contained in:
Matthew Hodgson 2019-05-19 16:09:47 +01:00
parent 6f8c6bf13e
commit 3e17e9f00d

View File

@ -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: [