Skip to content

Commit 8c29a0e

Browse files
committed
fix cr
1 parent a6ad3f9 commit 8c29a0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/utils/import-resolver.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,9 @@ function guessInternalImportTarget(
261261
files: FileSet,
262262
currentFile: string,
263263
): string | null {
264+
const normalizedSpecifier = normalizeAliasPrefix(specifier)
265+
264266
for (const [key, value] of Object.entries(imports)) {
265-
const normalizedSpecifier = normalizeAliasPrefix(specifier)
266267
const normalizedKey = normalizeAliasPrefix(key)
267268
if (
268269
normalizedSpecifier === normalizedKey ||

0 commit comments

Comments
 (0)