Skip to content
Permalink
Browse files

chore: fix build-babel exclude in gulpfile (#11293)

  • Loading branch information
JLHwung committed Mar 21, 2020
1 parent 0e5c1da commit 5b2c1f34d3d02bbe94273f3d728697fe72aa59f9
Showing with 1 addition and 1 deletion.
  1. +1 −1 Gulpfile.js
@@ -60,7 +60,7 @@ function buildBabel(exclude, sourcesGlob = defaultSourcesGlob) {
let stream = gulp.src(sourcesGlob, { base: __dirname });

if (exclude) {
const filters = exclude.map(p => `!**/${p}/**`);
const filters = exclude.map(p => `!**/${p.src}/**`);
filters.unshift("**");
stream = stream.pipe(filter(filters));
}

0 comments on commit 5b2c1f3

Please sign in to comment.
You can’t perform that action at this time.