mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-04-24 05:05:53 +08:00
Suggest just "yarn build" (#2385)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user