fix sourcemaps
This commit is contained in:
parent
ba2014d106
commit
23d83d5b01
@ -55,11 +55,13 @@ gulp.task('build:browserify', function() {
|
||||
});
|
||||
|
||||
gulp.task('build:minify', function () {
|
||||
return gulp.src('./build/timestring.js')
|
||||
return gulp.src('./dist/timestring.js')
|
||||
.pipe($.sourcemaps.init({ loadMaps: true }))
|
||||
.pipe($.uglify())
|
||||
.pipe($.rename({
|
||||
extname: '.min.js'
|
||||
}))
|
||||
.pipe($.sourcemaps.write())
|
||||
.pipe(gulp.dest('dist'));
|
||||
});
|
||||
|
||||
|
3
dist/timestring.min.js
vendored
3
dist/timestring.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user