fix(cli): resolve subdir plugins during build installs

This commit is contained in:
saberzero1 committed 2026-03-18 02:39:45 +01:00
1 parent 166b9c87d8
commit f2c2a31292
5 files changed
+203 -49

No files matched your search

+1 -1
View File
@@ -186,7 +186,7 @@ async function resolveSinglePlugin(
try {
const gitSpec = parsePluginSource(packageName)
await installPlugin(gitSpec, { verbose: options.verbose })
const entryPoint = getPluginEntryPoint(gitSpec.name, gitSpec.subdir)
const entryPoint = getPluginEntryPoint(gitSpec.name)
// Import the plugin
const module = await import(toFileUrl(entryPoint))