Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
Get all the benefits of Create React App and customization without using 'eject' by adding a single configuration (e.g. craco.config.js) file at the root of your application and customize your ESLint, Babel, PostCSS configurations and many more.
Install the latest version of the package from npm as a dev dependency:
npm i -D @craco/cracoCreate a CRACO configuration file in your project's root directory and configure:
my-app
├── node_modules
+ ├── craco.config.js
└── package.jsonUpdate the existing calls to react-scripts in the scripts section of your package.json to use the craco CLI:
"scripts": {
- "start": "react-scripts start"
+ "start": "craco start"
- "build": "react-scripts build"
+ "build": "craco build"
- "test": "react-scripts test"
+ "test": "craco test"
}Visit craco.js.org to learn more.
CRA has been deprecated, what now?
When I use babel to import other project's component, Unexpected behavior occur
Abandoned react-scripts dependency
Eslint 9 support
Selectively suppress webpack runtime errors?
CRACO with linaria
EEXIST: file already exists, mkdir ...
craco changes the output content of the package file to package the original configuration file and own custom folder
"craco test --coverage --runInBand" - RangeError: Maximum call stack size exceeded
Can we create a single build of two react projects?