Install pre-bundled packages 2/N
Summary: A first simple version of pre-bundled plugin installation. Currently both pre-bundled and source-only plugins are supported. Pre-bundled plugins should have folder "dist" inside and package.json's "main" field should point to the entry point script there. Reviewed By: passy Differential Revision: D19834020 fbshipit-source-id: 7e0b495fb9666acbb22fc32ca2382339cd9dc72f
This commit is contained in:
committed by
Facebook Github Bot
parent
c315691b2d
commit
707759f096
@@ -80,7 +80,7 @@ export default (store: Store, logger: Logger) => {
|
||||
};
|
||||
|
||||
function getBundledPlugins(): Array<PluginDefinition> {
|
||||
if (!isProduction()) {
|
||||
if (!isProduction() || process.env.FLIPPER_NO_EMBEDDED_PLUGINS) {
|
||||
// Plugins are only bundled in production builds
|
||||
return [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user