mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08:00
Move worker protocol and babelRegisterOnly into their own packages
Summary: Moves the implementation of Buck’s worker protocol into its own package and babelRegisterOnly for better reusability. Reviewed By: rafeca Differential Revision: D7666896 fbshipit-source-id: ae297494ced3b8dd1f9d90983a640643d6ce7896
This commit is contained in:
committed by
Facebook Github Bot
parent
5c8596dabe
commit
2690ba5e59
@@ -15,7 +15,7 @@ const {transformSync: babelTransformSync} = require('@babel/core');
|
||||
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
|
||||
* found when Flow v0.54 was deployed. To see the error delete this comment and
|
||||
* run Flow. */
|
||||
const babelRegisterOnly = require('metro/src/babelRegisterOnly');
|
||||
const babelRegisterOnly = require('metro-babel-register');
|
||||
/* $FlowFixMe(>=0.54.0 site=react_native_oss) This comment suppresses an error
|
||||
* found when Flow v0.54 was deployed. To see the error delete this comment and
|
||||
* run Flow. */
|
||||
|
||||
Reference in New Issue
Block a user