Summary: This diff stubs all node modules when running in the browser, so that, albeit with a lot of errors and without plugins, the UI loads in a browser. To be continued in the rest of this diff Reviewed By: antonk52 Differential Revision: D32665705 fbshipit-source-id: 4632e241f59c5b9712a41d01a26878afb01f69b5
17 lines
419 B
TypeScript
17 lines
419 B
TypeScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
declare const __REVISION__: string | undefined;
|
|
declare const __VERSION__: string;
|
|
declare const electronRequire: {
|
|
(name: string): any;
|
|
resolve: (module: string) => string;
|
|
cache: {[module: string]: any};
|
|
};
|