Dependencies issues after ejecting `react-scripts`
BEPSwap was initial created by using Create React App (CRA). Few months ago CRA a decision was made to eject CRA.
With this we won't get any updates or fixes of react-scripts
anymore, which is part of CRA. "Once you eject, you can’t go back!". We are still using scripts based on react-scripts
and have to fix same things as react-script
is doing nowadays. That's with every upgrade of dependency there is a risk, that our scripts do not work anymore (see !344 (merged) as an example).
There are some alternative projects to CRA, maybe we can use one of them:
-
react-app-rewired https://github.com/timarney/react-app-rewired#readme(Is just "lightly" maintained mostly by the community.) - craco - Create React App Configuration Override, an easy and comprehensible configuration layer for create-react-app https://github.com/gsoft-inc/craco
- rescripts - Use the latest react-scripts with custom configurations for Babel, ESLint, TSLint, Webpack,... ∞
Or we create a new CRA from scratch and bring our source into it.
Edited by Veado