Re-use pkg-lib for runtime plugin compilation

Summary: Re-use the same function for plugin building both at publishing time by "flipper-pkg" and in runtime by Flipper itself.

Reviewed By: jknoxville

Differential Revision: D21129685

fbshipit-source-id: b7bff6737310352d28a14223128f127ac4d2eebf
This commit is contained in:
Anton Nikolaev
2020-04-20 06:57:48 -07:00
committed by Facebook GitHub Bot
parent ca2d04a5da
commit 8a7470556e
7 changed files with 93 additions and 83 deletions

View File

@@ -12,7 +12,6 @@ declare module NodeJS {
__REVISION__: string | undefined;
__VERSION__: string;
electronRequire: (name: string) => any;
electronResolve: (name: string) => string;
window: Window | undefined;
WebSocket: any;
fetch: any;