1
0
mirror of synced 2024-11-16 11:13:22 +01:00

Merge branch 'inline-fonts'

This commit is contained in:
j433866 2019-08-13 15:39:33 +01:00
commit 62f82c5d12

View File

@ -103,11 +103,17 @@ module.exports = {
"sass-loader",
]
},
/**
* The limit for these files has been increased to 60,000 (60KB)
* to ensure the material icons font is inlined.
*
* See: https://github.com/gchq/CyberChef/issues/612
*/
{
test: /\.(ico|eot|ttf|woff|woff2)$/,
loader: "url-loader",
options: {
limit: 10000,
limit: 60000,
name: "[hash].[ext]",
outputPath: "assets"
}