Add information about customize-cra installation

Complementation of PR #14385
This commit is contained in:
Higor Araújo dos Anjos 2019-01-16 22:03:50 -03:00 committed by 偏右
parent 44005529db
commit ec4fcd2281

View File

@ -101,10 +101,10 @@ For instance, we actually import all styles of components in the project which m
Now we need to customize the default webpack config. We can achieve that by using [react-app-rewired](https://github.com/timarney/react-app-rewired) which is one of create-react-app's custom config solutions.
Import react-app-rewired and modify the `scripts` field in package.json.
Import react-app-rewired and modify the `scripts` field in package.json. Due to new `react-app-rewired@2.x` versions, you have to install customize-cra along with react-app-rewired.
```
$ yarn add react-app-rewired
$ yarn add react-app-rewired customize-cra
```
```diff