mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-10-08 15:45:14 +08:00
Update bundle.js
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user