mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-01-12 22:46:30 +08:00
Add pre-eject message about new features in v2 (#5954)
* Add pre-eject message about new features in v2 * Make message bold
This commit is contained in:
committed by
Joe Haddad
parent
ffb219d84d
commit
88f2b0bcfc
8
packages/react-scripts/scripts/eject.js
vendored
8
packages/react-scripts/scripts/eject.js
vendored
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user