react-scripts-overrides

1.1.3 • Public • Published

Override create-react-app

Purpose

to change webpack configs of create-react-app base projects without ejecting

Install

npm install react-scripts-overrides or yarn add react-scripts-overrides

Note: if you are using yarn, it may fail to override react-scripts/config, see this issue yarn #5476

How it works

1、we use npm | yarn hook postinstall to auto run override command;

2、files,those will be overridden,are react-scripts/config/webpack.config.dev.js, react-scripts/config/webpack.config.prod.js, react-scripts/config/paths.js, react-scripts/config/webpackDevServer.config.js

3、react-scripts-overrides will generate override.config.js in your project directory

Package Sidebar

Install

npm i react-scripts-overrides

Weekly Downloads

48

Version

1.1.3

License

ISC

Unpacked Size

10.5 kB

Total Files

4

Last publish

Collaborators

  • fitzwen