Summary: _typescript_

Reviewed By: passy

Differential Revision: D16962733

fbshipit-source-id: 6583c5a4471b12f91895f6449ed9c510265a63e2
This commit is contained in:
Daniel Büchele
2019-08-23 09:30:49 -07:00
committed by Facebook Github Bot
parent 7ed9e8e670
commit 853d80f182
4 changed files with 88 additions and 91 deletions

View File

@@ -93,7 +93,7 @@ async function createZip(buildDir, distDir, targets) {
const distDir = path.join(__dirname, '..', 'dist');
// eslint-disable-next-line no-console
console.log('Created build directory', buildDir);
await compile(buildDir, path.join(__dirname, '..', 'headless', 'index.js'));
await compile(buildDir, path.join(__dirname, '..', 'headless', 'index.tsx'));
const versionNumber = getVersionNumber();
const buildRevision = await genMercurialRevision();
await preludeBundle(buildDir, versionNumber, buildRevision);