diff --git a/packages/cli/src/commands/export-dynamic-plugin/frontend.ts b/packages/cli/src/commands/export-dynamic-plugin/frontend.ts index 0f5ce8f79f..1d4f7e6e4e 100644 --- a/packages/cli/src/commands/export-dynamic-plugin/frontend.ts +++ b/packages/cli/src/commands/export-dynamic-plugin/frontend.ts @@ -144,7 +144,6 @@ export async function frontend( ...scalprum, version, }, - fromPackage: name, resolvedScalprumDistPath, }); diff --git a/packages/cli/src/lib/builder/buildScalprumPlugin.ts b/packages/cli/src/lib/builder/buildScalprumPlugin.ts index b7c8d42e89..6949c7efd5 100644 --- a/packages/cli/src/lib/builder/buildScalprumPlugin.ts +++ b/packages/cli/src/lib/builder/buildScalprumPlugin.ts @@ -1,7 +1,6 @@ import { PluginBuildMetadata } from '@openshift/dynamic-plugin-sdk-webpack'; import { buildScalprumBundle } from '../bundler/bundlePlugin'; -import { loadCliConfig } from '../config'; import { getEnvironmentParallelism } from '../parallel'; interface BuildScalprumPluginOptions { @@ -9,22 +8,16 @@ interface BuildScalprumPluginOptions { writeStats: boolean; configPaths: string[]; pluginMetadata: PluginBuildMetadata; - fromPackage: string; resolvedScalprumDistPath: string; } export async function buildScalprumPlugin(options: BuildScalprumPluginOptions) { - const { targetDir, pluginMetadata, fromPackage, resolvedScalprumDistPath } = - options; + const { targetDir, pluginMetadata, resolvedScalprumDistPath } = options; await buildScalprumBundle({ targetDir, entry: 'src/index', parallelism: getEnvironmentParallelism(), pluginMetadata, - ...(await loadCliConfig({ - args: [], - fromPackage, - })), resolvedScalprumDistPath, }); }