Skip to content

Commit

Permalink
feat!: release build defaults to aab package type (#1268)
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu committed Jul 13, 2021
1 parent 1f0ea17 commit f6d1dee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/templates/cordova/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f6d1dee

Please sign in to comment.