@kbrw/babel-preset-jsxz

1.1.3 • Public • Published

babel-preset-jsxz

Babel preset for JSXZ transform

see https://github.com/kbrw/babel-plugin-transform-jsxz

For more explanation about the JSXZ transformation : generate your react component from html at compile time.

Install

npm install --save babel-preset-jsxz

Usage

{
  "presets": ["jsxz"]
}

You can specify the HTML template relative dir with the "dir" option.

{
  "presets": [["jsxz",{dir: "/path/to/my/templates"}]]
}

/@kbrw/babel-preset-jsxz/

    Package Sidebar

    Install

    npm i @kbrw/babel-preset-jsxz

    Weekly Downloads

    4

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    2.03 kB

    Total Files

    5

    Last publish

    Collaborators

    • aurmartin
    • shakadak
    • awetzel