Open panther7 opened 1 year ago
I actually found the bug causing this. In favicon.ts#L105
, the generateFavicon
function checks if the array is "truthy". That in and of itself isn't an issue, since a non-empty array is "truthy". However, if the array is "falsy", the function ignores the options and just generates the default ICO sizes. Put another way, for anything that calls generateFavicon
, generating BOTH PNG and ICO files will always happen, regardless of the options. The only control the user has is what size/sizes are generated. If no sizes are specified or the option is omitted, the defaults will ALWAYS be used.
UPDATE: I have added a proof of concept here. Also, sorry for commenting on such an old issue, just found the bug and thought it would be good to share the info.
version: 3.0.1
Error: