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.
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 theicons
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.