From 2581f2abbb9dc19c74c3c43b381d138c912c5309 Mon Sep 17 00:00:00 2001 From: David Festal Date: Tue, 30 Apr 2024 21:01:33 +0200 Subject: [PATCH] fix(cli): allow exporting dynamic plugins from `frontend-plugin-module` packages. Signed-off-by: David Festal --- packages/cli/src/commands/export-dynamic-plugin/command.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/commands/export-dynamic-plugin/command.ts b/packages/cli/src/commands/export-dynamic-plugin/command.ts index c593c57401..95bd5697b0 100644 --- a/packages/cli/src/commands/export-dynamic-plugin/command.ts +++ b/packages/cli/src/commands/export-dynamic-plugin/command.ts @@ -56,7 +56,7 @@ export async function command(opts: OptionValues): Promise { targetPath = await backendEmbedAsCode(roleInfo, opts); } configSchemaPath = path.join(targetPath, 'dist/configSchema.json'); - } else if (role === 'frontend-plugin') { + } else if (role === 'frontend-plugin' || role === 'frontend-plugin-module') { targetPath = await frontend(roleInfo, opts); configSchemaPath = path.join(targetPath, 'dist-scalprum/configSchema.json'); } else {