Remove babel transforms for flipper-server
Summary: Flipper server itself requires no babel transforms. We applied extra transforms only for the bundled plugins. However, we pack and ship all plugins in the /static folder. They are always available on the FS. Therefore we could stop bundling any plugins into flipper-server's source code. Reviewed By: lblasa Differential Revision: D38910251 fbshipit-source-id: b3e9fe5ae2ab69ce5579b01b6793ebf7e88baf66
This commit is contained in:
committed by
Facebook GitHub Bot
parent
218cb6abf2
commit
a67a4e5d0f
@@ -23,7 +23,7 @@ import {hostname} from 'os';
|
||||
import {
|
||||
compileMain,
|
||||
prepareDefaultPlugins,
|
||||
prepareHeadlessPlugins,
|
||||
buildHeadlessPlugins,
|
||||
} from './build-utils';
|
||||
import Watchman from './watchman';
|
||||
// @ts-ignore no typings for metro
|
||||
@@ -445,7 +445,7 @@ function checkDevServer() {
|
||||
await prepareDefaultPlugins(
|
||||
process.env.FLIPPER_RELEASE_CHANNEL === 'insiders',
|
||||
);
|
||||
await prepareHeadlessPlugins();
|
||||
await buildHeadlessPlugins(true);
|
||||
await ensurePluginFoldersWatchable();
|
||||
const port = await detect(DEFAULT_PORT);
|
||||
const {app, server} = await startAssetServer(port);
|
||||
|
||||
Reference in New Issue
Block a user