This would allow other developers to deactivate cleanup of destination folder before rebuilding, so it only overrides what has changed. This is needed if Kalastatic is being used alongside other tools that also need to generate assets inside the build folder, in this case you wouldn't want Metalsmith to delete these files.
This would allow other developers to deactivate cleanup of destination folder before rebuilding, so it only overrides what has changed. This is needed if Kalastatic is being used alongside other tools that also need to generate assets inside the build folder, in this case you wouldn't want Metalsmith to delete these files.