/babel-plugin-vidom-jsx

Plugin for babel to enable JSX for Vidom

Primary LanguageJavaScript

babel-plugin-vidom-jsx

Build Status NPM Version

Plugin for babel to enable JSX in Vidom.

Installation

npm i --save-dev babel-plugin-vidom-jsx

Usage

via CLI

babel --plugins vidom-jsx file.js

via babel.rc

{
  "plugins": ["vidom-jsx"]
}

Options

  • autoRequire=true By default plugin automatically adds necessary import but you can disable this behaviour and plugin will use vidom reference inside current scope.