Parcourir la source

include dragula in bundle

Adam Shaw il y a 7 ans
Parent
commit
48db5748b5
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      tasks/archive.js

+ 4 - 1
tasks/archive.js

@@ -46,7 +46,9 @@ gulp.task('archive:deps', function() {
     'node_modules/moment/min/moment.min.js',
     'node_modules/superagent/superagent.js',
     'node_modules/jquery/dist/jquery.min.js', // only for draggable example
-    'node_modules/components-jqueryui/jquery-ui.min.js' // "
+    'node_modules/components-jqueryui/jquery-ui.min.js', // "
+    'node_modules/dragula/dist/dragula.min.js', // "
+    'node_modules/dragula/dist/dragula.min.css' // "
   ])
     .pipe(gulp.dest('tmp/' + packageId + '/lib/'))
 })
@@ -76,6 +78,7 @@ function transformDemoPath(path) {
   path = path.replace('../node_modules/superagent/', '../lib/')
   path = path.replace('../node_modules/jquery/dist/', '../lib/')
   path = path.replace('../node_modules/components-jqueryui/', '../lib/')
+  path = path.replace('../node_modules/dragula/dist/', '../lib/')
 
   // reroot dist files to archive root
   path = path.replace('../dist/', '../')