cli: fix forwarding of target dir when resolving optional bundling paths

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-07-23 15:08:07 +02:00
parent 9a46a81ece
commit dc4fb4f6ac
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fix for `repo build --all` not properly detecting the experimental public entry point.
+1
View File
@@ -42,6 +42,7 @@ export async function buildBundle(options: BuildOptions) {
const paths = resolveBundlingPaths(options);
const publicPaths = await resolveOptionalBundlingPaths({
targetDir: options.targetDir,
entry: 'src/index-public-experimental',
dist: 'dist/public',
});