Bundle headless plugins
Summary: Current temporary limitations: all headless plugins are bundled with Flipper. Reviewed By: antonk52 Differential Revision: D36098168 fbshipit-source-id: c58abe41776157258a5c39a80a5c1a33cf3f42c5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1f2f799772
commit
a6d7f98cfd
@@ -16,6 +16,7 @@ import {
|
||||
genMercurialRevision,
|
||||
getVersionNumber,
|
||||
prepareDefaultPlugins,
|
||||
prepareHeadlessPlugins,
|
||||
} from './build-utils';
|
||||
import {defaultPluginsDir, distDir, serverDir, staticDir} from './paths';
|
||||
import isFB from './isFB';
|
||||
@@ -330,6 +331,7 @@ async function buildServerRelease() {
|
||||
|
||||
await compileServerMain(false);
|
||||
await prepareDefaultPlugins(argv.channel === 'insiders');
|
||||
await prepareHeadlessPlugins();
|
||||
await copyStaticResources(dir, versionNumber);
|
||||
await downloadIcons(path.join(dir, 'static'));
|
||||
await buildBrowserBundle(path.join(dir, 'static'), false);
|
||||
|
||||
Reference in New Issue
Block a user