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

@@ -16,13 +16,13 @@ import {
useValue,
sleep,
Toolbar,
path,
} from 'flipper-plugin';
import React from 'react';
import getPort from 'get-port';
import {Button, message, Switch, Typography} from 'antd';
import child_process from 'child_process';
import fs from 'fs';
import path from 'path';
import {DevToolsEmbedder} from './DevToolsEmbedder';
const DEV_TOOLS_NODE_ID = 'reactdevtools-out-of-react-node';