Skip to content

Commit 1b97c80

Browse files
nonaraRon S
authored and
Ron S
committed
fix: Base Node was elided if could not resolve (fixes: #119)
1 parent f944914 commit 1b97c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/resolve-path-update-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function resolvePathAndUpdateNode(
3939
if (!isModulePathsMatch(context, moduleName)) return node;
4040

4141
const res = resolveModuleName(context, moduleName);
42-
if (!res) return void 0;
42+
if (!res) return node;
4343

4444
const { outputPath, resolvedPath } = res;
4545

0 commit comments

Comments
 (0)