Remove default plugin entrypoints for hot-reloading
Summary: As we stopped bundling plugins in D39276249, we no longer need the entry points for the bundled plugins (these entry points are always going to be empty) Reviewed By: lblasa Differential Revision: D39307565 fbshipit-source-id: 43751fe31c8bd962677c226b27cfe52093d3f2d4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
94df830dfb
commit
642a3ebf81
@@ -172,7 +172,6 @@ export async function initializeElectron(
|
||||
restartFlipper(update: boolean = false) {
|
||||
restart(update);
|
||||
},
|
||||
loadDefaultPlugins: getDefaultPluginsIndex,
|
||||
serverConfig: flipperServerConfig,
|
||||
GK(gatekeeper) {
|
||||
return flipperServerConfig.gatekeepers[gatekeeper] ?? false;
|
||||
@@ -207,9 +206,3 @@ export async function initializeElectron(
|
||||
},
|
||||
} as RenderHost;
|
||||
}
|
||||
|
||||
function getDefaultPluginsIndex() {
|
||||
// eslint-disable-next-line import/no-unresolved
|
||||
const index = require('../defaultPlugins');
|
||||
return index.default || index;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user