This project provides a set of utilities to customize create-react-app
versions 2 and 3 configurations leveraging react-app-rewired
core functionalities.
react-app-rewired
; be sure to read their docs if you never have. The code in this project, documented below, is designed to work inside of react-app-rewired
's config-overrides.js
file.
npm install customize-cra --save-dev
yarn add customize-cra --dev
"Stuff can break" - Dan Abramov
Using this library will override default behavior and configuration of create-react-app, and therefore invalidate the guarantees that come with it. Use with discretion!
To start, this project will export functions I need for what I'm using CRA for, but PRs will of course be welcome.
The functions documented below can be imported by name, and used in your config-overrides.js
file, as explained below.
See api.md
for documentation on the functions provided by customize-cra
.
For more information about contributing to this project, like a directory map or a how-to for reporting an issue about the project, please see contributing.md
.
Thanks goes to these wonderful people (emoji key):
dqu 💬 |
Breeze 💻 |
Terryand 💻 |
m-weeks 🐛 |
This project follows the all-contributors specification. Contributions of any kind welcome!