A starter project to build Riot applications with Bublé and Rollup.

Usage no npm install needed!

<script type="module">
  import bubleRiotRollupStarter from 'https://cdn.skypack.dev/buble-riot-rollup-starter';



Build Status Dependency Status npm version js-standard-style

A starter project to build Riot applications with Bublé and Rollup.

This project is based on buble-react-rollup-starter and provides a basic boilerplate to get started with Riot using ES2015/16 which is then bundled with Rollup and compiled by Bublé into ES5 code.


Clone this repository:

git clone https://github.com/nerdstep/buble-riot-rollup-starter
cd buble-riot-rollup-starter
npm install

Or install from npm:

npm i buble-riot-rollup-starter



A basic workflow involving Browsersync is already implemented. Running the following command will open your default browser pointing to the html/index-dev.html file. Any modification of one of the files included in the src directory will trigger a new development build and refresh your browser:

npm start

You can also generate a development build by running the following command:

npm run build:dev


First run the following command:

npm run build

Then open the html/index.html file in your browser.

The Rollup production configuration file switch the NodeJS environment to production and minify the code with UglifyJS.


The code quality is checked by the JavaScript Standard Style.


Released under the MIT license by Justin Williams.