This package includes scripts and configuration used by Create React App.
Please refer to its documentation:
This fork exists to bring back the basic functionality of
react-app-rewired in a simple
and non intrusive way. I do my best to keep this fork up-to-date and to inject as little
custom code as possible.
create-react-app project-name --scripts-version marcopeg-react-scripts
In your project's root you'll find
webpack.config.extend.js which contains a simple
function that could mutate the webpack configuration that is provided by
The very same concept is applied to the
You can create your own app template as
.cra-template/ and place it in the
folder in which you are going to create your new app.
If you want to specify a custom template folder to use, there is what I believe to be a temporary CLI option that will make CRA to use a local template:
create-react-app \ project-name \ --scripts-version marcopeg-react-scripts \ --internal-testing-template my-custom-template
This custom fork of
react-scripts comes with a couple of specific templates
that might come in handy to bootstrap a new project: