gulpfile.js
function buildDocsTasks() {
    if(npmArgs.remain.indexOf('gentics-ui-core') === -1) {
        return new Promise(gulp.series(
            cleanDocsFolder,
            copyDocsFiles,
            copyJekyllConfig
        ));
    }
    return resolvePromiseDummy();
}
function buildDocsTasks() {
    if(npmArgs.remain.indexOf('gentics-ui-core') === -1) {
        return new Promise(gulp.series(
            cleanDocsFolder,
            copyDocsFiles,
            copyJekyllConfig
        ));
    }
    return resolvePromiseDummy();
}
function buildDocsTasks ( ) { if ( npmArgs . remain . indexOf ( 'gentics-ui-core' ) === - 1 ) { return new Promise ( gulp . series ( cleanDocsFolder , copyDocsFiles , copyJekyllConfig ) ) ; } return resolvePromiseDummy ( ) ; }
Run only when gentics-ui-core is building
Run only when gentics - ui - core is building