Skip to content

Commit

Permalink
Add old version
Browse files Browse the repository at this point in the history
  • Loading branch information
lndgalante committed Jun 22, 2017
1 parent 74a2ae3 commit 6149649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/src/content-script.js

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

12 changes: 3 additions & 9 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@ const dest = 'dist/src'
gulp.task('js', () => {
gulp
.src(src)
.pipe(
babel({
presets: ['es2015']
})
)
.pipe(uglify())
.pipe(babel({ presets: ['es2015'] }))
.pipe(uglify().on('error', e => console.log(e)))
.pipe(gulp.dest(dest))
})

gulp.task('default', ['js'], () => {
gulp.watch(src, ['js'])
})
gulp.task('default', ['js'], () => gulp.watch(src, ['js']))

0 comments on commit 6149649

Please sign in to comment.