Compare commits

...
2 changed files with 5 additions and 12 deletions

No files matched your search

@@ -86,11 +86,7 @@ export default class UpdateRollBackToEmbedded extends EasCommand {
}),
platform: Flags.enum({
char: 'p',
options: [
// TODO: Add web when it's fully supported
...defaultPublishPlatforms,
'all',
],
options: [...defaultPublishPlatforms, 'all'],
default: 'all',
required: false,
}),
+4 -7
View File
@@ -193,11 +193,6 @@ export async function buildBundlesAsync({
throw new Error('Could not locate package.json');
}
const platformArgs =
platformFlag === 'all'
? ['--platform', 'ios', '--platform', 'android']
: ['--platform', platformFlag];
if (shouldUseVersionedExpoCLI(projectDir, exp)) {
await expoCommandAsync(projectDir, [
'export',
@@ -205,7 +200,8 @@ export async function buildBundlesAsync({
inputDir,
'--dump-sourcemap',
'--dump-assetmap',
...platformArgs,
'--platform',
platformFlag,
...(clearCache ? ['--clear'] : []),
]);
} else {
@@ -218,7 +214,8 @@ export async function buildBundlesAsync({
'--non-interactive',
'--dump-sourcemap',
'--dump-assetmap',
...platformArgs,
'--platform',
platformFlag,
...(clearCache ? ['--clear'] : []),
]);
}