Skip to content

Commit

Permalink
added gulp build
Browse files Browse the repository at this point in the history
  • Loading branch information
alhacen committed Aug 21, 2021
1 parent a0ae093 commit de92880
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 3,358 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
package-lock.json
1 change: 1 addition & 0 deletions dist/index.js

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

11 changes: 11 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const gulp = require('gulp');
const babel = require('gulp-babel');
const uglify = require('gulp-uglify');
var rename = require("gulp-rename");

gulp.task('minify', () => {
return gulp.src('src/**/*.js')
.pipe(babel())
.pipe(uglify())
.pipe(gulp.dest('dist'))
});
78 changes: 0 additions & 78 deletions index.js

This file was deleted.

Loading

0 comments on commit de92880

Please sign in to comment.