broccoli-msx
Broccoli plugin for precompiling Mithril msx views into js
Install
npm install --save-dev broccoli-msx
Example
var msx = pickFiles = mergeTrees = ; var js = js = moduleexports =
.msx
files are automatically renamed to .js
API
msx(tree, [options: {}])
Options
options
- options accepted by
msx.transform()
.
{ harmony: true|false }
- enables/disables ES6 transforms supported by JSX Transformer. Default: false
{ precompile: true|false }
- enables/disable default precompilation and always output m() calls. Default: true