Device plugin management (3/n): unbundle less used device plugins from Flipper Insiders builds
Summary: Now as we can install device plugins from Marketplace, I was able to unbundle device plugins which were used quite rarely, but still added ~3 MB to the final Flipper bundle. Reviewed By: mweststrate Differential Revision: D26337297 fbshipit-source-id: 23a36cc15ca976a1215440192718d985e1f322fd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4541cdc23b
commit
4cb40de3f5
@@ -30,18 +30,14 @@ const {version} = require('../package.json');
|
||||
|
||||
const dev = process.env.NODE_ENV !== 'production';
|
||||
|
||||
// For insiders builds we bundle into them all the device plugins,
|
||||
// plus top 10 "universal" plugins starred by more than 100 users.
|
||||
// For insiders builds we bundle top 5 popular device plugins,
|
||||
// plus top 10 popular "universal" plugins starred by more than 100 users.
|
||||
const hardcodedPlugins = new Set<string>([
|
||||
// Device plugins
|
||||
// Popular device plugins
|
||||
'DeviceLogs',
|
||||
'CrashReporter',
|
||||
'MobileBuilds',
|
||||
'DeviceCPU',
|
||||
'Tracery',
|
||||
'Hermesdebuggerrn',
|
||||
'kaios-big-allocations',
|
||||
'kaios-graphs',
|
||||
'React',
|
||||
// Popular client plugins
|
||||
'Inspector',
|
||||
|
||||
Reference in New Issue
Block a user