A minimal example of creating a React component library with rollup.js. Build Library cd mylib npm install cd .. Run Example npm install npm start