JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1583
  • Score
    100M100P100Q121923F
  • License MIT

Minify JavaScript with Closure Compiler

Package Exports

  • gulp-closure-compiler

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-closure-compiler) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-closure-compiler Build Status

Minify JavaScript with Closure Compiler

Issues with the output or Java should be reported on the Closure Compiler issue tracker.

Install

Install with npm

npm install --save-dev gulp-closure-compiler

Example

var gulp = require('gulp');
var closureCompiler = require('gulp-closure-compiler');

gulp.task('default', function () {
    gulp.src('src/*.js')
        .pipe(closureCompiler())
        .pipe(gulp.dest('dist'));
});

API

closureCompiler(options)

See the Closure Compiler options.

License

MIT © Sindre Sorhus