(file)
| 128 | }) |
| 129 | }; |
| 130 | const shouldSkipProcessing = (file) => { |
| 131 | const relativePath = path.relative(path.join(process.cwd(), 'apps'), file.path); |
| 132 | return relativePath === 'chart-maker/lib/xlsx.full.min.js' |
| 133 | || relativePath === 'static/vendor/evalCore.min.js' |
| 134 | || relativePath === 'code-compress/htmlminifier.min.js'; |
| 135 | }; |
| 136 | return gulp.src('apps/**/*.js') |
| 137 | .pipe(jsMerge()) |
| 138 | .pipe(gulpIf(file => !shouldSkipProcessing(file), babel({ |