This commit is contained in:
Brendan Dash
2025-11-18 00:06:04 +08:00
committed by GitHub
parent dd2d8d7ead
commit c2075e2a8b

View File

@@ -716,7 +716,7 @@ export function toAliasedImport(
// if noExt is empty (i.e. file was exactly at the root), we import the root
let suffix = noExt === "" ? "" : `/${noExt}`
// Rremove /src from suffix.
// Remove /src from suffix.
// Alias will handle this.
suffix = suffix.replace("/src", "")