Modifies react-scripts 2.0 for micro frontend development
npm install react-app-rewire-single-bundlereact-scripts v1, your JavaScript was always compiled to a single file. In
sh
yarn add -D react-app-rewired react-app-rewire-micro-frontends
`
2. Edit your package.json scripts to use react-app-rewired instead of react-scripts.
3. Add this line to your package.json:
`json
"config-overrides-path": "node_modules/react-app-rewire-micro-frontends",
`
That's it! Your app should now be compiled to just /static/js/bundle.js in dev
mode, or main.[hash].js` for production builds, and in either case the compiled