babel-plugin-syntax-mezze-jsx
v1.0.1
Published
This plugin allows Babel to parse the Mezze JSX syntax. If you want to transform it then see transform-mezze-jsx.
Downloads
2
Readme
babel-plugin-syntax-mezze-jsx
This plugin allows Babel to parse the Mezze JSX syntax. If you want to transform it then see transform-mezze-jsx.
Installation
$ npm install babel-plugin-syntax-mezze-jsx
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["syntax-mezze-jsx"]
}
Via CLI
$ babel --plugins syntax-mezze-jsx script.js
Via Node API
require("babel-core").transform("code", {
plugins: ["syntax-mezze-jsx"]
});