feat(plugin-infra): support worker thread in server side (#3462)

This commit is contained in:
Alex Yang
2023-07-29 13:57:23 -07:00
committed by GitHub
parent 77dab70ff7
commit ac59e28fcd
13 changed files with 152 additions and 70 deletions

View File

@@ -11,6 +11,7 @@ export const packageJsonInputSchema = z.object({
core: z.string(),
server: z.string().optional(),
}),
serverCommand: z.array(z.string()).optional(),
}),
});
@@ -24,6 +25,7 @@ export const packageJsonOutputSchema = z.object({
core: z.string(),
}),
assets: z.array(z.string()),
serverCommand: z.array(z.string()).optional(),
}),
});