/**
 * Cockpit Import module build file
 */

var pkg    = require('package.json');
var paths  = pkg.config.path;

/**
 * Build task
 */
gulp.task('build', function(cb) {

    // Copy vendor dist files into assets folder
    var files = [
        path.vendor + '/papaparse/papaparse.js',
        path.vendor + '/papaparse/papaparse.min.js',
    ];

    gulp.src(files)
        gulp.dest(path.src + '/assets/3p');
    ;
});

/**
 * Default task
 */
gulp.task('default', [
    'build'
]);

@@ -46,14 +46,39 @@
 var 
+gulp = require('gulp');%0Avar 
 pkg
-   
  = r
@@ -85,16 +85,18 @@
 equire('
+./
 package.
@@ -111,18 +111,16 @@
 var path
-s 
  = pkg.c
@@ -181,16 +181,26 @@
 function
+ buildTask
 (cb) %7B%0A%0A
@@ -400,24 +400,30 @@
 es)%0A        
+.pipe(
 gulp.dest(pa
@@ -444,16 +444,17 @@
 ets/3p')
+)
 ;%0A    ;%0A

Fix buildfile