Gulp build fails when there are no font icons.
jaydenseric opened this issue · 1 comments
jaydenseric commented
Deleting the single default icon before a first build causes a Sass compilation error.
The _icons.scss partial is only generated when there is at least one icon to trigger the codepoints
event in the icons
task.
Removing all icon SVGs following a previously successful build does not remove config from the partial.
A solution would be to add a first step to the icons
task that checks if any exist. If yes, the current process occurs. If no, the _icons.scss partial is created or updated empty.
jaydenseric commented
This bug is redundant now icons are handled with SVG and not fonts.