Skip to content

Commit 3e45821

Browse files
authored
feat(webpack): add USER_PROJECT_PLATFORMS_IOS for embedding options (#10422)
1 parent 375bc2e commit 3e45821

File tree

1 file changed

+2
-1
lines changed
  • packages/webpack5/src/platforms

1 file changed

+2
-1
lines changed

packages/webpack5/src/platforms/ios.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ function sanitizeName(appName: string): string {
1010
}
1111
function getDistPath() {
1212
const appName = sanitizeName(basename(getProjectRootPath()));
13-
return `platforms/ios/${appName}/app`;
13+
const platform = process.env.USER_PROJECT_PLATFORMS_IOS ? process.env.USER_PROJECT_PLATFORMS_IOS : "platforms/ios"
14+
return `${platform}/${appName}/app`;
1415
}
1516

1617
const iOSPlatform: INativeScriptPlatform = {

0 commit comments

Comments
 (0)