client: remove legacy font formats

All supported browsers support WOFF 2.0.
This commit is contained in:
Jesse Chan
2020-12-03 18:05:08 +08:00
parent 03cad54eb6
commit 4e108ad9cf
23 changed files with 7 additions and 1604 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ module.exports = {
options: {mode: ['react-component']},
},
{
test: [/\.eot$/, /\.ttf$/, /\.woff$/, /\.woff2$/],
test: [/\.woff2$/],
loader: require.resolve('file-loader'),
options: {
name: 'static/media/[name].[hash:8].[ext]',