1
0
mirror of https://gitcode.com/github-mirrors/react-native-update-cli.git synced 2025-09-16 09:41:38 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Re-enable gradle check for hermes

This commit is contained in:
sunnylqm
2021-04-11 23:26:43 +08:00
parent 46d308c7c2
commit fa8290fcbf

View File

@@ -32,12 +32,12 @@ async function runReactNativeBundleCommand(
config,
) {
let gradleConfig = {};
// if (platform === 'android') {
// gradleConfig = await checkGradleConfig();
if (platform === 'android') {
gradleConfig = await checkGradleConfig();
// if (gradleConfig.crunchPngs !== false) {
// throw new Error('请先禁用android的crunchPngs优化具体请参考 https://pushy.reactnative.cn/docs/getting-started.html#%E7%A6%81%E7%94%A8android%E7%9A%84crunch%E4%BC%98%E5%8C%96')
// }
// }
}
let reactNativeBundleArgs = [];