gulp-closure-compiler-simple

1.0.0 • Public • Published

gulp-closure-compiler-simple

Usage

"use strict";

const gulp = require("gulp");
const rename = require("gulp-rename");
const closure = require("gulp-closure-compiler-simple");

gulp.task("minify", _ => gulp.src("js/*.js")
	.pipe(closure({language_in: "ES6", language_out: "ES5"}))
	.pipe(rename({extname: ".min.js"}))
	.pipe(gulp.dest("js"))
);

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-closure-compiler-simple

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sekai67