Skip to content

Commit b8b77f4

Browse files
committed
Convert in to === undefined
1 parent 77e890f commit b8b77f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/normalizeOptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function normalizeTransformFunctionsElement(optsTransformFunction) {
132132
}
133133

134134
const finalOpts = { pattern, isModulePath: true };
135-
if ('isModulePath' in opts) {
135+
if (opts.isModulePath === undefined) {
136136
finalOpts.isModulePath = opts.isModulePath;
137137
}
138138

0 commit comments

Comments
 (0)