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.
npm install --save babel-preset-jsxz
{
"presets": ["jsxz"]
}
You can specify the HTML template relative dir with the "dir" option.
{
"presets": [["jsxz",{dir: "/path/to/my/templates"}]]
}