mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 10:01:08 +08:00
feat(webpack): add USER_PROJECT_PLATFORMS_IOS for embedding options (#10422)
This commit is contained in:

committed by
GitHub

parent
375bc2e10b
commit
3e4582156c
@ -10,7 +10,8 @@ function sanitizeName(appName: string): string {
|
||||
}
|
||||
function getDistPath() {
|
||||
const appName = sanitizeName(basename(getProjectRootPath()));
|
||||
return `platforms/ios/${appName}/app`;
|
||||
const platform = process.env.USER_PROJECT_PLATFORMS_IOS ? process.env.USER_PROJECT_PLATFORMS_IOS : "platforms/ios"
|
||||
return `${platform}/${appName}/app`;
|
||||
}
|
||||
|
||||
const iOSPlatform: INativeScriptPlatform = {
|
||||
|
Reference in New Issue
Block a user