A simple boilerplate for mithril with rollup. The focus is keeping this with low complexity.
- Rollup
- rollup-plugin-serve
- rollup-plugin-json
- rollup-plugin-node-resolve
- rollup-plugin-commonjs
- rollup-plugin-livereload
- mithril
$ npm run build
$ npm run dev
This uses serve
, live-reload
and watch
. Just point your browser to the URL output from this command and be happy.
It rebuilds and refreshes the browser as needed.