diff gulpfile.js @ 1189:bfa470063ee2 draft

cm: Update node packages.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 16 Jun 2021 09:28:42 -0700
parents 7eb58b5748eb
children
line wrap: on
line diff
--- a/gulpfile.js	Tue Jun 15 22:36:23 2021 -0700
+++ b/gulpfile.js	Wed Jun 16 09:28:42 2021 -0700
@@ -29,13 +29,14 @@
 gulp.task('js', function() {
     return gulp.src([
             'node_modules/jquery/dist/jquery.min.js',
+            'node_modules/timeago/jquery.timeago.js',
+            'node_modules/popper.js/dist/umd/popper.min.js',
             'node_modules/bootstrap/dist/js/bootstrap.min.js',
-            'node_modules/timeago/jquery.timeago.js',
             'piecrust/admin/assets/js/**/*.js'
             ])
         .pipe(sourcemaps.init())
         .pipe(concat('foodtruck.js'))
-        //.pipe(uglify())
+        .pipe(uglify())
         .pipe(sourcemaps.write())
         .pipe(rename({suffix: '.min'}))
         .pipe(gulp.dest('piecrust/admin/static/js'));