build/builder.js
function clean() {
    const distDir = "./dist";

    try {
        fse.readdirSync(distDir).forEach(file => {
            let filePath = path.resolve(distDir, file);
            if (fse.lstatSync(filePath).isDirectory()) {
                logInfo("Clean distribution package " + file);
                try {
                    rimraf.sync(filePath);
                } catch (e) {
                    logError("Could not clean distribution package: " + e);
                }
            }
        });
    } catch (e) { }
}
function clean() {
    const distDir = "./dist";

    try {
        fse.readdirSync(distDir).forEach(file => {
            let filePath = path.resolve(distDir, file);
            if (fse.lstatSync(filePath).isDirectory()) {
                logInfo("Clean distribution package " + file);
                try {
                    rimraf.sync(filePath);
                } catch (e) {
                    logError("Could not clean distribution package: " + e);
                }
            }
        });
    } catch (e) { }
}
function clean ( ) { const distDir = "./dist" ; try { fse . readdirSync ( distDir ) . forEach ( file => { let filePath = path . resolve ( distDir , file ) ; if ( fse . lstatSync ( filePath ) . isDirectory ( ) ) { logInfo ( "Clean distribution package " + file ) ; try { rimraf . sync ( filePath ) ; } catch ( e ) { logError ( "Could not clean distribution package: " + e ) ; } } } ) ; } catch ( e ) { } }
Clean all distribution packages.
Clean all distribution packages .