feat!: release build defaults to aab package type (#1268)

This commit is contained in:
エリス 2021-07-13 16:34:38 +09:00 committed by GitHub
parent 1f0ea173b0
commit f6d1deeff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,7 +130,11 @@ function parseOpts (options, resolvedTarget, projectRoot) {
ret.packageType = packageArgs.packageType;
}
} else {
ret.packageType = PackageType.APK;
if (ret.buildType === 'release') {
ret.packageType = PackageType.BUNDLE;
} else {
ret.packageType = PackageType.APK;
}
}
return ret;