Suggest just "yarn build" (#2385)

This commit is contained in:
Dan Abramov
2017-05-27 21:26:53 +01:00
committed by GitHub
parent 5317b3f910
commit 70bf12505c

View File

@@ -107,7 +107,7 @@ function printInstructions(appName, urls, useYarn) {
console.log('Note that the development build is not optimized.');
console.log(
`To create a production build, use ` +
`${chalk.cyan(`${useYarn ? 'yarn' : 'npm'} run build`)}.`
`${chalk.cyan(`${useYarn ? 'yarn' : 'npm run'} build`)}.`
);
console.log();
}