A simple boilerplate for web apps with React, Babel, and Rollup.
npm install --global babel-react-rollup-starter
Running the following command will open your default browser to
html/index-dev.html. Thanks to Browsersync, any modifications inside
src trigger a browser refresh:
To generate a development bundle:
npm run build:dev
npm run build
html/index.htmlin your browser.
The Rollup production configuration file changes
NODE_ENV to production and minifies the code with UglifyJS.
Released under the MIT license by Davy Duperron.