From 91cdd50ba753131265da6350204ea9949f3c6d49 Mon Sep 17 00:00:00 2001 From: j433866 Date: Tue, 13 Aug 2019 14:03:21 +0100 Subject: [PATCH] Increase size limit for inlined fonts / icons --- webpack.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 46878282..1258a5c4 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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" }