1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-08 17:25:14 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

Update bundle.js

This commit is contained in:
Sunny Luo
2018-05-30 06:20:53 +00:00
committed by GitHub
parent fd3b9f1ebc
commit 9b37e80945

View File

@@ -369,15 +369,6 @@ export const commands = {
await rmdir(realIntermedia); await rmdir(realIntermedia);
await mkdir(realIntermedia); await mkdir(realIntermedia);
try {
require(path.resolve('node_modules/react-native/packager/babelRegisterOnly'))([
/private-cli\/src/,
/local-cli/,
]);
} catch (err) {
require('metro-bundler/src/babelRegisterOnly');
}
// ref: https://github.com/ds300/react-native-typescript-transformer/blob/master/index.js#L20 // ref: https://github.com/ds300/react-native-typescript-transformer/blob/master/index.js#L20
if (major === 0) { if (major === 0) {
if (minor >= 52) { if (minor >= 52) {