Skip to content

Commit

Permalink
Add pre-eject message about new features in v2 (facebook#5954)
Browse files Browse the repository at this point in the history
* Add pre-eject message about new features in v2

* Make message bold
  • Loading branch information
iansu authored and Timer committed Dec 4, 2018
1 parent ffb219d commit 88f2b0b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/react-scripts/scripts/eject.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ function getGitStatus() {
}
}

console.log(
chalk.cyan.bold(
'NOTE: Create React App 2 supports TypeScript, Sass, CSS Modules and more without ejecting: ' +
'https://reactjs.org/blog/2018/10/01/create-react-app-v2.html'
)
);
console.log();

inquirer
.prompt({
type: 'confirm',
Expand Down

0 comments on commit 88f2b0b

Please sign in to comment.