MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / build

Function build

code/gulpfile.js:22–32  ·  view source on GitHub ↗
(folder, callback)

Source from the content-addressed store, hash-verified

20};
21
22var build = function (folder, callback) {
23 folder.bundler.bundle()
24 .on('error', gutil.log)
25 .pipe(source('app.js'))
26 .pipe(buffer())
27 .pipe(sourcemaps.init({ loadMaps: true })).on('error', gutil.log)
28 .pipe(sourcemaps.write('./'))
29 .pipe(duration(folder.path + ' changed'))
30 .pipe(gulp.dest('./' + folder.path + '/public'))
31 .on('end', callback ? callback : function () {});
32};
33var folders = fs.readdirSync('./')
34 .filter(function (folder) {
35 try {

Callers 1

gulpfile.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected