npm.io
0.0.5-alpha.2 • Published 7 years agoCLI

rollup-react-app

Licence
MIT
Version
0.0.5-alpha.2
Deps
14
Size
10 kB
Vulns
2
Weekly
0

rollup-react-app

A simple CLI to build your React App

How?

Install it in your project
$ npm i rollup-react-app

Add the following script in your package.json
"rollup-build": "rollup-react-app"

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

Notes

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.