Skip to content

Simple preset containing only jsxz transform for convenience

Notifications You must be signed in to change notification settings

kbrw/babel-preset-jsxz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple preset containing only jsxz transform for convenience

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published