summaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-16 13:25:13 +0300
committerAndrew Dolgov <[email protected]>2021-04-16 13:25:13 +0300
commitc8b4ec5886068baf7f371cd02aaf854dcf2e9b2a (patch)
tree657a4f69e9f5805472e3e263b3c4504081547527 /gulpfile.js
parent889d85e2512754a9ee724df8b6a4c1f470e3a2e2 (diff)
pull some JS requirements from npm (and feed them to gulp)
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 343e4a5..3c27442 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -18,9 +18,9 @@ gulp.task('minifyLibsJS', function(cb) {
.src([
'lib/bootstrap/v3/js/jquery.js',
'lib/bootstrap/v3/js/bootstrap.min.js',
- 'lib/zip.min.js',
- 'lib/epub.js',
- 'lib/localforage.min.js',
+ 'node_modules/jszip/dist/jszip.min.js',
+ 'node_modules/epubjs/dist/epub.js',
+ 'node_modules/localforage/dist/localforage.js',
'lib/jquery.mobile-events.min.js',
'lib/hyphen/*.js'])
.pipe(concat('app-libs.min.js'))
@@ -78,7 +78,7 @@ gulp.task(
function(cb) {
gulp.series(['minifyCSS', 'minifyJS', 'minifyLibsJS'])();
- gulp.watch(['lib/**/*.js', 'lib/*.js'], gulp.series('minifyLibsJS'));
+ gulp.watch(['lib/**/*.js', 'lib/*.js', 'node_modules/**/.js'], gulp.series('minifyLibsJS'));
gulp.watch(['js/*.js'], gulp.series('minifyJS'));
gulp.watch(['css/*.less'], gulp.series('minifyCSS'));