mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-22 07:46:16 -04:00
Increase size limit for inlined fonts / icons
This commit is contained in:
parent
cdb30d86b0
commit
91cdd50ba7
1 changed files with 7 additions and 1 deletions
|
@ -103,11 +103,17 @@ module.exports = {
|
||||||
"sass-loader",
|
"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)$/,
|
test: /\.(ico|eot|ttf|woff|woff2)$/,
|
||||||
loader: "url-loader",
|
loader: "url-loader",
|
||||||
options: {
|
options: {
|
||||||
limit: 10000,
|
limit: 60000,
|
||||||
name: "[hash].[ext]",
|
name: "[hash].[ext]",
|
||||||
outputPath: "assets"
|
outputPath: "assets"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue