Skip to content

Commit 0a55851

Browse files
committed
Merge pull request #1 from mattdesl/patch-1
ensure we don't end up with [ undefined ] results
2 parents bf89b4f + 1bcaba6 commit 0a55851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function loader (source) {
3030

3131
const pkgTransforms = [].concat(
3232
json.browserify && json.browserify.transform
33-
)
33+
).filter(Boolean)
3434

3535
map(pkgTransforms, 10, function (transform, next) {
3636
transform = Array.isArray(transform) ? transform : [transform]

0 commit comments

Comments
 (0)