npm

Need private packages and team management tools?Check out npm Orgs. »

edp-build-parallel

1.0.2 • Public • Published

edp-build-parallel

NPM version Downloads Dependencies

edp-build parallelly

Usage

edp-build-config.js:

var ParallelProcessor = require('edp-build-parallel');

exports.getProcessors = function () {

    var jsProcessor = new JsCompressor();

    var addCopyright = new AddCopyright();
    var outputCleaner = new OutputCleaner();

    var afterProcessor = new ParallelProcessor([
        addCopyright, outputCleaner
    ]); // 并行处理

    return [ jsProcessor, afterProcessor ];     // 串行处理

});

Related

install

npm i edp-build-parallel

Downloadsweekly downloads

2

version

1.0.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability