function clean() {
  rimraf(pathResolve(appRootDir.get(), config('buildOutputPath')), () => {
    console.log(`Cleaned ${pathResolve(appRootDir.get(), config('buildOutputPath'))}`);
  });
}
This script removes any exisitng build output.