Skip to content

Commit bbcf139

Browse files
nhajidinalexdriaguine
authored andcommitted
Add missing --dev argument (facebook#1058)
1 parent 5cc7fa4 commit bbcf139

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-scripts/scripts/build.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function build(previousSizeMap) {
165165
console.log('To publish it at ' + chalk.green(homepagePath) + ', run:');
166166
console.log();
167167
if (useYarn) {
168-
console.log(' ' + chalk.cyan('yarn') + ' add gh-pages');
168+
console.log(' ' + chalk.cyan('yarn') + ' add --dev gh-pages');
169169
} else {
170170
console.log(' ' + chalk.cyan('npm') + ' install --save-dev gh-pages');
171171
}

0 commit comments

Comments
 (0)