Remove 'path' from plugins

Summary:
1. Add `path` replacement
1. Remove Node's path for all plugins but MobileBuildsPluginContainer (it is probably going to be moved to the server)

Reviewed By: mweststrate

Differential Revision: D32766327

fbshipit-source-id: e636f273842506e752b97cf1b28ce7ac51ce9a12
This commit is contained in:
Andrey Goncharov
2021-12-02 04:13:38 -08:00
committed by Facebook GitHub Bot
parent 6a4a867f74
commit 5610f8f058
10 changed files with 390 additions and 12 deletions

View File

@@ -129,6 +129,8 @@ export {
export {createTablePlugin} from './utils/createTablePlugin';
export {textContent} from './utils/textContent';
import * as path from './utils/path';
export {path};
// It's not ideal that this exists in flipper-plugin sources directly,
// but is the least pain for plugin authors.