karma-msx-preprocessor
Compile JSX into Mithril render-compatible elements on the fly
The plugin uses MSX to compile JSX into Mithril render-compatible elements for your Karma runs.
Installation
Run npm install
in your project root:
$ npm install karma-msx-preprocessor --save-dev
Configuration
// karma.conf.jsmodule { config}
config.msxPreprocessor
is passed directly as the options to msx.transform()
. harmony
and precompile
are enabled by default.