Fix server bundling order
Summary: prepareDefaultPlugins and prepareHeadlessPlugins should come before compileServerMain to bundle plugins Reviewed By: passy Differential Revision: D38862132 fbshipit-source-id: 952a2f6d4f857f4faacfc952bebb4e59afcbc5b0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
97b8b8a1c4
commit
218cb6abf2
@@ -352,9 +352,9 @@ async function buildServerRelease() {
|
||||
// create plugin output dir
|
||||
await fs.mkdirp(path.join(dir, 'static', 'defaultPlugins'));
|
||||
|
||||
await compileServerMain(false);
|
||||
await prepareDefaultPlugins(argv.channel === 'insiders');
|
||||
await prepareHeadlessPlugins();
|
||||
await compileServerMain(false);
|
||||
await copyStaticResources(dir, versionNumber);
|
||||
await downloadIcons(path.join(dir, 'static'));
|
||||
await buildBrowserBundle(path.join(dir, 'static'), false);
|
||||
|
||||
Reference in New Issue
Block a user