We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6ad3f9 commit 8c29a0eCopy full SHA for 8c29a0e
server/utils/import-resolver.ts
@@ -261,8 +261,9 @@ function guessInternalImportTarget(
261
files: FileSet,
262
currentFile: string,
263
): string | null {
264
+ const normalizedSpecifier = normalizeAliasPrefix(specifier)
265
+
266
for (const [key, value] of Object.entries(imports)) {
- const normalizedSpecifier = normalizeAliasPrefix(specifier)
267
const normalizedKey = normalizeAliasPrefix(key)
268
if (
269
normalizedSpecifier === normalizedKey ||
0 commit comments