Skip to content

Commit ece9523

Browse files
authored
Link to an explanation for forking react-scripts (#3710)
1 parent bb71830 commit ece9523

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/react-scripts/template/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ You can find the most recent version of this guide [here](https://github.com/fac
9595
- [`npm run build` fails on Heroku](#npm-run-build-fails-on-heroku)
9696
- [`npm run build` fails to minify](#npm-run-build-fails-to-minify)
9797
- [Moment.js locales are missing](#momentjs-locales-are-missing)
98+
- [Alternatives to Ejecting](#alternatives-to-ejecting)
9899
- [Something Missing?](#something-missing)
99100

100101
## Updating to New Releases
@@ -2323,6 +2324,10 @@ To resolve this:
23232324

23242325
In the future, we might start automatically compiling incompatible third-party modules, but it is not currently supported. This approach would also slow down the production builds.
23252326

2327+
## Alternatives to Ejecting
2328+
2329+
[Ejecting](#npm-run-eject) lets you customize anything, but from that point on you have to maintain the configuration and scripts yourself. This can be daunting if you have many similar projects. In such cases instead of ejecting we recommend to *fork* `react-scripts` and any other packages you need. [This article](https://auth0.com/blog/how-to-configure-create-react-app/) dives into how to do it in depth. You can find more discussion in [this issue](https://github.com/facebookincubator/create-react-app/issues/682).
2330+
23262331
## Something Missing?
23272332

23282333
If you have ideas for more “How To” recipes that should be on this page, [let us know](https://github.com/facebookincubator/create-react-app/issues) or [contribute some!](https://github.com/facebookincubator/create-react-app/edit/master/packages/react-scripts/template/README.md)

0 commit comments

Comments
 (0)