gulp-ccaas
Compiles JavaScript with the Google Closure Compiler Service API, run and hosted by Google. Similar to gulp-closure-compiler, but does not require Java or the compiler code directly.
Install
npm install --save-dev gulp-ccaas
Example
While there are many options for the raw HTTP API, this plugin just compiles ES6 to ES5.
It takes two options- strict
(default true) and advanced
(default false).
For more information on the advanced mode, see Advanced Compliation and Externs.
var gulp = ;var closure = ; gulp;