diff --git a/src/index.ts b/src/index.ts index ef3c79e..6414035 100644 --- a/src/index.ts +++ b/src/index.ts @@ -179,7 +179,7 @@ function resolveTsFilename( ) { const tsPath = resolveTsPath(request); - if (parent && isTsFilePatten.test(parent.filename) && tsPath) { + if (parent && tsPath) { try { return resolveFilename.call( this,