craco

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

APACHE-2.0 License

Downloads
1.8M
Stars
7.4K
Committers
72
craco -

Published by patricklafrance almost 4 years ago

Migration Path from 5.8.0

Eslint-loader has been deleted from create-react-app in version 4.0. Now eslint is being delivered through eslint-webpack-plugin, not eslint-loader.
View Changes.

The property loaderOptions is now named pluginOptions

CRACO 5.8

    eslint: {
        enable: true /* (default value) */,
        mode: "extends" /* (default value) */ || "file",
        configure: { /* Any eslint configuration options: https://eslint.org/docs/user-guide/configuring */ },
        configure: (eslintConfig, { env, paths }) => { return eslintConfig; },
        --> loaderOptions: { /* Any eslint-loader configuration options: https://github.com/webpack-contrib/eslint-loader. */ },
        --> loaderOptions: (eslintOptions, { env, paths }) => { return eslintOptions; }
    },

CRACO 6.0

    eslint: {
        enable: true /* (default value) */,
        mode: "extends" /* (default value) */ || "file",
        configure: { /* Any eslint configuration options: https://eslint.org/docs/user-guide/configuring */ },
        configure: (eslintConfig, { env, paths }) => { return eslintConfig; },
        --> pluginOptions: { /* Any eslint-loader configuration options: https://eslint.org/docs/developer-guide/nodejs-api#%E2%97%86-new-eslint-options. */ },
        --> pluginOptions: (eslintOptions, { env, paths }) => { return eslintOptions; }
    },
craco -

Published by patricklafrance almost 4 years ago

Support jsx-runtime for jest babel transform https://github.com/gsoft-inc/craco/pull/216

craco -

Published by patricklafrance almost 4 years ago

Package Rankings
Top 0.67% on Npmjs.org
Top 6.7% on Proxy.golang.org
Badges
Extracted from project README
npm status npm downloads npm license GitHub stars GitHub contributors PRs Welcome
Related Projects