Skip to content

Commit e2c7d8c

Browse files
committed
Increase size limit for inlined fonts / icons
1 parent ec70d8a commit e2c7d8c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

webpack.config.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,17 @@ module.exports = {
103103
"sass-loader",
104104
]
105105
},
106+
/**
107+
* The limit for these files has been increased to 60,000 (60KB)
108+
* to ensure the material icons font is inlined.
109+
*
110+
* See: https://github.com/gchq/CyberChef/issues/612
111+
*/
106112
{
107113
test: /\.(ico|eot|ttf|woff|woff2)$/,
108114
loader: "url-loader",
109115
options: {
110-
limit: 10000,
116+
limit: 60000,
111117
name: "[hash].[ext]",
112118
outputPath: "assets"
113119
}

0 commit comments

Comments
 (0)