A simple boilerplate for web apps with React, Babel, and Rollup.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Via npm into a fresh project:
npm i babel-react-rollup-starter
Or using Git:
git clone https://github.com/yamafaktory/babel-react-rollup-starter.git cd babel-react-rollup-starter npm i
For a faster installation, use yarn instead of npm.
Running the following command will open your default browser to
html/index-dev.html. Thanks to Browsersync, any modifications inside
srctrigger 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_ENVto production and minifies the code with UglifyJS.
Released under the MIT license by Davy Duperron.