Skip to content

Commit

Permalink
Updating some build tools, and adding sourcemaps, ref #82
Browse files Browse the repository at this point in the history
  • Loading branch information
ten1seven committed Nov 9, 2018
1 parent e370a58 commit 0c847d6
Show file tree
Hide file tree
Showing 5 changed files with 1,041 additions and 1,067 deletions.
2 changes: 2 additions & 0 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@ gulp.task('scripts', () => {
.pipe($.header(banner, { pkg: pkg }))
.pipe(gulp.dest('./dist/'))
.pipe(gulp.dest('./build/scripts/'))
.pipe($.sourcemaps.init())
.pipe($.uglify())
.pipe(
$.rename({
suffix: '.min'
})
)
.pipe($.header(banner, { pkg: pkg }))
.pipe($.sourcemaps.write('./maps'))
.pipe(gulp.dest('./dist/'))
.pipe($.notify('Build complete'))
})
Expand Down
1 change: 1 addition & 0 deletions dist/maps/what-input.min.js.map

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

Loading

0 comments on commit 0c847d6

Please sign in to comment.