Skip to content

Commit 1bcaba6

Browse files
committed
ensure we don't end up with [ undefined ] results
1 parent bf89b4f commit 1bcaba6

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)