Skip to content

Commit

Permalink
upgraded to gulp@4
Browse files Browse the repository at this point in the history
  • Loading branch information
n2geoff committed Nov 9, 2018
1 parent 823c722 commit b7f103a
Show file tree
Hide file tree
Showing 5 changed files with 3,054 additions and 1,671 deletions.
2 changes: 1 addition & 1 deletion dist/testit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Test.it v 0.6.2 | MIT | https://github.com/n2geoff/testit */
/*! Test.it v 0.7.0 | MIT | https://github.com/n2geoff/testit */
(function (root, factory) {
"use strict";
if (typeof module === "object" && module.exports) {
Expand Down
2 changes: 1 addition & 1 deletion dist/testit.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const gulp = require("gulp");
const minify = require('gulp-minify');
const minify = require("gulp-minify");
const strip = require("gulp-strip-comments");

gulp.task("default", function() {
gulp.src("./src/testit.js")
gulp.task("default", function build() {
return gulp.src("./src/testit.js")
.pipe(strip({safe: true}))
.pipe(minify({ext: {min: ".min.js"}}))
.pipe(gulp.dest("dist"))
Expand Down
Loading

0 comments on commit b7f103a

Please sign in to comment.