testit/gulpfile.js

10 lines
322 B
JavaScript
Raw Normal View History

2018-04-07 08:03:46 +00:00
const gulp = require("gulp");
2018-11-09 15:40:40 +00:00
const minify = require("gulp-minify");
2018-04-07 08:03:46 +00:00
const strip = require("gulp-strip-comments");
2018-11-09 15:40:40 +00:00
gulp.task("default", function build() {
return gulp.src("./src/testit.js")
2018-04-07 08:03:46 +00:00
.pipe(strip({safe: true}))
.pipe(minify({ext: {min: ".min.js"}}))
.pipe(gulp.dest("dist"))
});