Make sure you have an existing project that was started with
Alternatively, if you are starting new check out
npm install flex-pluginnpm install -D react-app-rewired react-app-rewire-flex-plugin
package.json to contain
"scripts":"start": "react-app-rewired start""build": "react-app-rewired build""test": "react-app-rewired test --env=jsdom""eject": "react-app-rewired eject""config-overrides-path": "node_modules/react-app-rewire-flex-plugin"
npm start or
npm run build.
Make sure to follow the instructions in the main repository to setup the project
# Install dependencies and link local packages with each othercd packages/react-app-rewire-flex-pluginnpx lerna bootstrap# Run testsnpm test# To use your local package in a different projectnpm link# then in a different projectnpm link react-app-rewire-flex-plugin
Thank you to all the lovely contributors to this project. Please check the main repository to see all contributors.