react-rollup-wrapper

Make use of Rollup config to publish react components as npm package (https://www.npmjs.com/package/react-rollup-wrapper/)

Usecase:

  1. Put all resusable components in npm package. Install this package in projects where you want to use the components.
  2. Make a custom wrapper on a public libraries like Bootstrap, Material UI, Webiny UI etc, and publish your components to have uniform design and common codes across applications