fix(cli): resolve subdir plugins during build installs

This commit is contained in:
saberzero1
2026-03-18 02:39:45 +01:00
parent 166b9c87d8
commit f2c2a31292
5 changed files with 203 additions and 49 deletions
+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))