1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

style highlights examples

This commit is contained in:
fchasen 2016-02-21 23:37:18 -05:00
parent 98ce08091d
commit d9a19e5a28
10 changed files with 445 additions and 156 deletions

View file

@ -52,12 +52,17 @@ gulp.task('minify', ['bundle'], function(){
// Watch Our Files
gulp.task('watch', function(cb) {
server();
bundle('epub.js', cb);
});
gulp.task('serve', function() {
server();
bundle('epub.js', cb);
});
gulp.task('serve:no-watch', function() {
server();
bundle('epub.js', cb);
});
gulp.task('test', function(cb) {
@ -111,7 +116,7 @@ function bundle(file, watch) {
// Ignore optional URI libraries
var urijsPath = URI(require.resolve('urijs'));
['./punycode.js', './IPv6.js', './SecondLevelDomains.js'].forEach(function(lib) {
['./punycode.js', './IPv6.js'].forEach(function(lib) {
var libPath = URI(lib).absoluteTo(urijsPath).toString();
b.ignore(libPath);
});