Sfoglia il codice sorgente

gulp: fixing base path for 'package' task

Denny Biasiolli 3 anni fa
parent
commit
1b3b83273c
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      gulpfile.js

+ 4 - 1
gulpfile.js

@@ -278,7 +278,10 @@ gulp.task('package', gulp.series('default', () =>
         './images/**',
         './plugin/**',
         './**.md'
-    ]).pipe(zip('reveal-js-presentation.zip')).pipe(gulp.dest('./'))
+    ],
+    {
+        base: './'
+    }).pipe(zip('reveal-js-presentation.zip')).pipe(gulp.dest('./'))
 
 ))