Remove usage of 'events' package

Summary: 'events' doesn't exist in the browser, so picked a popular package with the same API

Reviewed By: lblasa, aigoncharov

Differential Revision: D32643057

fbshipit-source-id: 91309e53e16f3279048aa976cdb098eaa4a7d7db
This commit is contained in:
Michel Weststrate
2021-12-08 04:25:28 -08:00
committed by Facebook GitHub Bot
parent 1308edc790
commit 29a907c733
6 changed files with 6 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ import {
NoLongerConnectedToClientError,
} from 'flipper-common';
import {default as isProduction} from './utils/isProduction';
import {EventEmitter} from 'events';
import EventEmitter from 'eventemitter3';
import invariant from 'invariant';
import {getPluginKey} from './utils/pluginKey';