mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-03 01:18:38 +00:00
fix
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
@@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user