plumber-uglifyjs

0.4.0 • Public • Published

plumber-uglifyjs Build Status

JavaScript minimisation operation for Plumber pipelines, using UglifyJS2.

Example

var uglifyjs = require('plumber-uglifyjs');

module.exports = function(pipelines) {

    pipelines['css'] = [
        glob('scripts/**/*.js'),
        uglifyjs(),
        // ... more pipeline operations
    ];

};

API

uglifyjs()

Minimise each input JavaScript resource.

Source maps for all input resources will be updated or generated accordingly.

/plumber-uglifyjs/

    Package Sidebar

    Install

    npm i plumber-uglifyjs

    Weekly Downloads

    3

    Version

    0.4.0

    License

    GPL

    Last publish

    Collaborators

    • theefer