1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

add incomplete epubcfi update

This commit is contained in:
Fred Chasen 2015-12-15 20:12:46 -05:00
parent 57df816060
commit 05f1b92094
9 changed files with 1006 additions and 1798 deletions

View file

@ -43,9 +43,9 @@ gulp.task('minify', ['bundle'], function(){
return gulp.src('dist/epub.js')
.pipe(plumber({ errorHandler: onError }))
.pipe(rename('epub.min.js'))
.pipe(sourcemaps.init({loadMaps: true}))
// .pipe(sourcemaps.init({loadMaps: true}))
.pipe(uglify(uglifyOptions))
.pipe(sourcemaps.write('./'))
// .pipe(sourcemaps.write('./'))
.pipe(size({ showFiles: true }))
.pipe(gulp.dest('dist'));
});
@ -61,7 +61,7 @@ gulp.task('serve', function() {
});
// Default
gulp.task('default', ['lint', 'build']);
gulp.task('default', ['lint', 'bundle']);
function bundle(file, watch) {