3 ms·
You can use Babel's JSX transformer for HTML elements by sticking this in a .babelrc file: { "jsxPragma": "m" } You'll also be able to use it fo
by insin 11y ago
You can use Babel's JSX transformer for HTML elements by sticking this in a .babelrc file:
{
"jsxPragma": "m"
}
You'll also be able to use it for Mithril components when the next version of Mithril is released. Relevant issue: https://github.com/lhorie/mithril.js/issues/632 https://github.com/lhorie/mithril.js/issues/632