react-workspaces / react-workspaces-playground

⚛️ 🐈 Zero Config Create-React-App Monorepos with Yarn Workspaces, Lerna and React Storybook.
https://react-workspaces.github.io/react-workspaces-playground/
763 stars 128 forks source link

Best way for integrating Babel plugins/presets? #58

Open mcastre opened 4 years ago

mcastre commented 4 years ago

Hello! I'm working on implementing React Workspaces Playground as a monorepo framework and i have a few questions:

  1. How would you handle adding a babel.config.js and plugins/presets to the monorepo? would you have it at the root?
  2. Since your repo uses react-scripts, is there a way to "eject" like in CRA in order to make changes to the webpack configs?

Im using the multi-comp React app as a base, no typescript or anything. im relatively new to monorepo architecture and trying to implement one myself from scratch led to alot of issues where babel would not run on packages. Im hoping your repo could help me scaffold our app out with a good monorepo implementation.

Thanks for any help you can give! Please let me know if you need more information from me.