Skip to content Skip to sidebar Skip to footer

Reactjs Linting (eslint) And Transpiling (babel) Error On Shared Code Using Monorepo (lerna + Yarn Workspaces)

I´m building a monorepo using yarn workspaces, lerna and 2 different projects: ux - a React component library built using create-react-app auth - a React application that uses u

Solution 1:

As of react-scripts 2.0 they removed support for monorepos (https://github.com/facebook/create-react-app/issues/1333). However if you scroll to the bottom of the issues page you will see a link to react-workspaces. I've not tried it, but it looks promising. (https://github.com/react-workspaces/react-workspaces-playground)


Post a Comment for "Reactjs Linting (eslint) And Transpiling (babel) Error On Shared Code Using Monorepo (lerna + Yarn Workspaces)"