Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 801 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 801 Bytes

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.