A simple CLI to build your React App
Install it in your project
$ npm i rollup-react-app
Add the following script in your package.json
Make sure to have your index.js in the root of your project or in src/index.js and then run the following command
$ npm run rollup-react-app
This is experimental, may not work. At it's current state, it works if your project is clean and don't have much dependencies. If you are using styled-components, you are good.