Rollup plugin!
Features
The only new feature in v2.0.0
is the addition of a rollup plugin to simplify usage w/ that bundler.
rollup.rollup({
entry : "./entry.js",
plugins : [
require("mithril-objectify/rollup")()
]
})
.then(function(bundle) {
return bundle.write({
dest : "./out/source.js"
});
})
Breaking Changes
Exports have changed. To access the browserify transform now requires:
require("mithril-objectify/browserify");
The JS API is now available as the default export:
require("mithril-objectify");
All other usage remains the same, and documentation in the README has been updated.