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:
Michel Weststrate
2021-12-13 05:46:42 -08:00
committed by Facebook GitHub Bot
parent ac9080abac
commit 9e09c0d5f7
4 changed files with 0 additions and 10 deletions

View File

@@ -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>) {