Home

Awesome

mithril-starter-rollup

Project setup with:

A couple of styles are included using Tachyon, but these can simply be replaced with your own CSS solution.

Setup

Install dependencies

npm install

Build and watch

Script commands defined in package.json:

Call npm run dev and open a web page at localhost:3000. The port number is set by environment variable PORT in package.json.

When making changes, the terminal will show lint errors, if any.

Configuration files

scripts contains a couple of Rollup configuration files. The scripts use rollup.base.js as base configuration.

FYI, the base configuration:

Bundler configuration

Optional environment variables:

Other configuration file:

License

MIT