[Storybook]: Fix path for guessing the build output folder (#30914)

This commit is contained in:
Jay Harris
2025-09-04 09:31:39 +12:00
committed by GitHub
parent bf2060dd36
commit 3d2e3ea41b
+2 -2
View File
@@ -31,9 +31,9 @@ let outputPath = config.outputDir
function getBuildOutputPathList() {
return buildConfigs.flatMap((config) => [
path.resolve(__dirname, `../../out/${config}`),
path.resolve(__dirname, `../../../../out/${config}`),
...extraArchitectures.map((arch) =>
path.resolve(__dirname, `../../out/${config}_${arch}`),
path.resolve(__dirname, `../../../../out/${config}_${arch}`),
),
])
}