Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 63d6b11

Browse files
authoredJun 6, 2025··
Fix generating module specifiers verbatim from exports (#1087)
1 parent 4fb7922 commit 63d6b11

File tree

67 files changed

+120
-477
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+120
-477
lines changed
 

‎internal/modulespecifiers/specifiers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ func tryGetModuleNameAsNodeModule(
688688
return "" // File is under this package.json, but is not publicly exported - there's no way to name it via `node_modules` resolution
689689
}
690690
if verbatimFromExports {
691-
return moduleFileName
691+
return moduleFileToTry
692692
}
693693
//}
694694
if len(packageRootPath) > 0 {

‎testdata/baselines/reference/submodule/compiler/declarationEmitBundlerConditions.errors.txt

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.