1.0.1 • Published 8 years ago

babel-plugin-syntax-mezze-jsx v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

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"]
});