Novelty Promotes Magicians

    gulp-closure-compiler-service

    0.6.0 • Public • Published

    gulp-closure-compiler-service

    Gulp plugin to compile JavaScript with the Google Closure compiler service. No Java dependency.

    Installation

    $ npm install gulp-closure-compiler-service
    

    Usage

    var closure = require('gulp-closure-compiler-service');
     
    gulp.task('compile', function() {
      return gulp.src('src/*.js')
        .pipe(closure())
        .pipe(gulp.dest('dist'));
    });

    Options can be passed to the API:

    .pipe(closure({
      language: 'ECMASCRIPT5',
      compilation_level: 'WHITESPACE_ONLY'
    }))

    License

    This software is released under the terms of the MIT license. See LICENSE.

    Install

    npm i gulp-closure-compiler-service

    DownloadsWeekly Downloads

    17

    Version

    0.6.0

    License

    MIT

    Last publish

    Collaborators

    • gavinhungry