record.js/gulpfile.js

10 lines
317 B
JavaScript
Raw Normal View History

2018-04-07 04:12:28 +00:00
const gulp = require("gulp");
const minify = require('gulp-minify');
const strip = require("gulp-strip-comments");
gulp.task("default", function() {
2019-01-13 19:15:11 +00:00
return gulp.src("./src/record.js")
2018-04-07 04:12:28 +00:00
.pipe(strip({safe: true}))
.pipe(minify({ext: {min: ".min.js"}}))
2019-01-13 19:15:11 +00:00
.pipe(gulp.dest("dist"));
2018-04-07 04:12:28 +00:00
});