From a1e8197440462a7a850ba97bbe699a86d8cc923a Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Fri, 20 Dec 2024 19:52:26 +0100 Subject: [PATCH] Fix @kbn/core location in optimizer --- packages/kbn-optimizer/src/optimizer/optimizer_config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/kbn-optimizer/src/optimizer/optimizer_config.ts b/packages/kbn-optimizer/src/optimizer/optimizer_config.ts index fbeaf8b5014f6..378db32763d92 100644 --- a/packages/kbn-optimizer/src/optimizer/optimizer_config.ts +++ b/packages/kbn-optimizer/src/optimizer/optimizer_config.ts @@ -209,8 +209,8 @@ export class OptimizerConfig { type: 'entry', id: 'core', sourceRoot: options.repoRoot, - contextDir: Path.resolve(options.repoRoot, 'src/core'), - outputDir: Path.resolve(options.outputRoot, 'src/core/target/public'), + contextDir: Path.resolve(options.repoRoot, 'src/core/packages/core'), + outputDir: Path.resolve(options.outputRoot, 'src/core/packages/core/target/public'), pageLoadAssetSizeLimit: limits.pageLoadAssetSize?.core, remoteInfo: { pkgId: '@kbn/core',