Summary: flipper-server-companion depends on flipper-plugin. flipper-plugin includes dependencies that run only in a browser. Splitting flipper-plugin into core and browser packages helps to avoid including browser-only dependencies into flipper-server bundle. As a result, bundle size could be cut in half. Subsequently, RSS usage drops as there is twice as less code to process for V8. Note: it currently breaks external flipper-data-source package. It will be restored in subsequent diffs Reviewed By: lblasa Differential Revision: D38658285 fbshipit-source-id: 751b11fa9f3a2d938ce166687b8310ba8b059dee
35 lines
581 B
JSON
35 lines
581 B
JSON
{
|
|
"extends": "../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"outDir": "lib",
|
|
"rootDir": "src",
|
|
"esModuleInterop": true,
|
|
"types": [
|
|
"../types/JSONStream",
|
|
"../types/adbkit",
|
|
"../types/openssl-wrapper",
|
|
"../types/adbkit-logcat"
|
|
]
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "../doctor"
|
|
},
|
|
{
|
|
"path": "../flipper-common"
|
|
},
|
|
{
|
|
"path": "../flipper-plugin-core"
|
|
},
|
|
{
|
|
"path": "../flipper-server-companion"
|
|
},
|
|
{
|
|
"path": "../plugin-lib"
|
|
},
|
|
{
|
|
"path": "../pkg-lib"
|
|
}
|
|
]
|
|
}
|