Add babel version to build output

Reviewed By: mjesun

Differential Revision: D6722581

fbshipit-source-id: d6d1d79f86baa2b75673ef5c097aa27653621f60
This commit is contained in:
Peter van der Zee 2018-01-15 06:57:08 -08:00 committed by Facebook Github Bot
parent 333182363a
commit b8fa8e0a7e
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ const files = process.argv.slice(2);
if (files.length) {
files.forEach(buildFile);
} else {
process.stdout.write(chalk.bold.inverse('Building packages\n'));
// $FlowFixMe TODO t25179342 Add version to the flow types for this module
process.stdout.write(chalk.bold.inverse('Building packages') + ' (using Babel v' + babel.version + ')\n');
getPackages().forEach(buildPackage);
process.stdout.write('\n');
}