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 -2
View File
@@ -6,12 +6,11 @@ import { getPluginSubpathEntry, toFileUrl } from "./gitLoader"
export async function loadFramesFromPackage(
pluginName: string,
manifest: PluginManifest | null,
subdir?: string,
): Promise<void> {
if (!manifest?.frames) return
try {
const framesPath = getPluginSubpathEntry(pluginName, "./frames", subdir)
const framesPath = getPluginSubpathEntry(pluginName, "./frames")
let framesModule: Record<string, unknown>
if (framesPath) {