build: Use rimraf for cleaning build folders
Description
This MR introduces a cross-platform way to clean the build folders, since rm -rf
does not work on Windows.
There's still other errors that prevent the extension from being developed on Windows, related to building the webfont. This is not part of this MR.
Related Issues
Partial fix of #790
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap