babel-plugin-vidom-jsx

[![Build Status](https://img.shields.io/travis/dfilatov/babel-plugin-vidom-jsx/master.svg?style=flat-square)](https://travis-ci.org/dfilatov/babel-plugin-vidom-jsx/branches) [![NPM Version](https://img.shields.io/npm/v/babel-plugin-vidom-jsx.svg?style=fla

Usage no npm install needed!

<script type="module">
  import babelPluginVidomJsx from 'https://cdn.skypack.dev/babel-plugin-vidom-jsx';
</script>

README

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.