React-app-rewired: Support CRA 3

Created on 24 May 2019  路  7Comments  路  Source: timarney/react-app-rewired

Most helpful comment

Closing this.

Did a quick test seems to be working fine with CRA 3.

All 7 comments

@timarney would you accept a PR for this or is someone already working on it?

@crobinson42 for sure. Up for grabs.

I just updated, and got it working with CRA 3

@mads-thines I'm using CRA 3 and would like to use this react-app-rewired package. Did you have to do anything special to get it working?

@erikhansen I'm the maintainer of my companys React Boilerplate.
The update is currently still in review, but you can checkout the WIP branch here

Hope it helps :)

I needed to use a custom configuration for Jest, and for me it worked very well. It was a simple thing, but the CRA would not let me do it.

My version of CRA is 3.0.1


config-overrides.js

// Override `create-react-app` default configs for Jest.
const jestConfig = require('./jest.config');

module.exports = {
  jest(config) {
    return { ...config, ...jestConfig };
  },
};

Closing this.

Did a quick test seems to be working fine with CRA 3.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bilthon picture bilthon  路  5Comments

lyudad picture lyudad  路  6Comments

windhost picture windhost  路  5Comments

InsOpDe picture InsOpDe  路  5Comments

artalar picture artalar  路  4Comments