babel-plugin-collect-jsx-attribute
v1.0.4
Published
babel-plugin, collect jsx attribute
Downloads
2
Readme
babel-plugin-collect-jsx-attribute
babel-plugin, collect jsx attribute
usage
yarn add babel-plugin-collect-jsx-attribute
then, in babel configuration file
plugins: [
[
"collect-jsx-attribute",
{
attributes: ["xxxx"], // JSX properties to collect
filename: "xxx.json" // Generated filename
}
]
]