How to use the @microsoft/web-library-build.parallel function in @microsoft/web-library-build

To help you get started, we’ve selected a few @microsoft/web-library-build examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github OfficeDev / office-ui-fabric-react / packages / office-ui-fabric-react / gulpfile.js View on Github external
'use strict';

let build = require('@microsoft/web-library-build');
let serial = build.serial;
let parallel = build.parallel;
let buildConfig = build.getConfig();
let gulp = require('gulp');
let configFile = "./ftpconfig.json";
let fs = require('fs');
let path = require('path');
let del = require('del');
let gulpConnect = require('gulp-connect');

let isProduction = process.argv.indexOf('--production') >= 0;
let isNuke = process.argv.indexOf('nuke') >= 0;
let {
  libFolder,
  distFolder,
  packageFolder = ''
} = buildConfig;