Stop exposing adbkit and crc32 as globals
Summary: Since no plugin directly uses adbkit or crc32 anymore, we removed them from the globals. They wouldn't work in the browser anyway Reviewed By: aigoncharov Differential Revision: D33019084 fbshipit-source-id: 66ab0756399fdb401c63f5e8271bdd62cb79ab4a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ac9080abac
commit
9e09c0d5f7
@@ -21,12 +21,10 @@ const requireReplacements: any = {
|
||||
'flipper-plugin': 'global.FlipperPlugin',
|
||||
react: 'global.React',
|
||||
'react-dom': 'global.ReactDOM',
|
||||
adbkit: 'global.adbkit',
|
||||
antd: 'global.antd',
|
||||
immer: 'global.Immer',
|
||||
'@emotion/styled': 'global.emotion_styled',
|
||||
'@ant-design/icons': 'global.antdesign_icons',
|
||||
crc32: 'global.crc32_hack_fix_me',
|
||||
};
|
||||
|
||||
export function tryReplaceFlipperRequire(path: NodePath<CallExpression>) {
|
||||
|
||||
Reference in New Issue
Block a user