Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
shadcn
2026-03-02 09:32:24 +04:00
committed by GitHub
parent 801e7d6b3d
commit 4ef12b0e09

View File

@@ -70,7 +70,7 @@ function resolveSubpathImport(
: importPath.slice(prefix.length)
const target = resolveImportTarget(imports[pattern])
if (target) {
return path.resolve(baseDir, target.replace("*", wildcard))
return path.resolve(baseDir, target.replace(/\*/g, wildcard))
}
}
}