Build all plugins before start
Summary: prepareDefaultPlugins builds all plugins now. We no longer need extra helpers Reviewed By: lblasa Differential Revision: D39308098 fbshipit-source-id: 4f12a0bdbc2afd2b306565fff3494daa630e1a20
This commit is contained in:
committed by
Facebook GitHub Bot
parent
642a3ebf81
commit
f835e07c46
@@ -16,9 +16,7 @@ import {
|
||||
genMercurialRevision,
|
||||
getVersionNumber,
|
||||
prepareDefaultPlugins,
|
||||
buildHeadlessPlugins,
|
||||
moveServerSourceMaps,
|
||||
buildServerAddOns,
|
||||
} from './build-utils';
|
||||
import {defaultPluginsDir, distDir, serverDir, staticDir} from './paths';
|
||||
import isFB from './isFB';
|
||||
@@ -354,8 +352,6 @@ async function buildServerRelease() {
|
||||
await fs.mkdirp(path.join(dir, 'static', 'defaultPlugins'));
|
||||
|
||||
await prepareDefaultPlugins(argv.channel === 'insiders');
|
||||
await buildServerAddOns(false);
|
||||
await buildHeadlessPlugins(false);
|
||||
await compileServerMain(false);
|
||||
await copyStaticResources(dir, versionNumber);
|
||||
await downloadIcons(path.join(dir, 'static'));
|
||||
|
||||
Reference in New Issue
Block a user