Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

craco

> 前端框架
Open source

Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.

7.4K stars0 likes1 views
WebsiteGitHub

About

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.

  1. Install the latest version of the package from npm as a dev dependency:

    bash
    npm i -D @craco/craco
  2. Create a CRACO configuration file in your project's root directory and configure:

    diff
      my-app
      ├── node_modules
    + ├── craco.config.js
      └── package.json
  3. Update the existing calls to react-scripts in the scripts section of your package.json to use the craco CLI:

    diff
    "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.

Issues· 48 open

View all issuesOpen on GitHub
  • #707

    CRA has been deprecated, what now?

    Updated Mar 2, 2026
  • #535

    When I use babel to import other project's component, Unexpected behavior occur

    bugUpdated Feb 20, 2025
  • #545

    Abandoned react-scripts dependency

    feature requestUpdated Feb 17, 2025
  • #543

    Eslint 9 support

    bugUpdated Feb 7, 2025
  • #527

    Selectively suppress webpack runtime errors?

    bugUpdated Dec 31, 2024
  • #534

    CRACO with linaria

    bugUpdated Nov 8, 2024
  • #544

    EEXIST: file already exists, mkdir ...

    bugUpdated Sep 6, 2024
  • #514

    craco changes the output content of the package file to package the original configuration file and own custom folder

    bugUpdated Aug 20, 2024
  • #542

    "craco test --coverage --runInBand" - RangeError: Maximum call stack size exceeded

    bugUpdated Aug 2, 2024
  • #541

    Can we create a single build of two react projects?

    Updated Aug 2, 2024

> Tags

TypeScriptconfigurationcracreate-react-appcustomization

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架