babel-plugin-collect-jsx-attribute

1.0.4 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i babel-plugin-collect-jsx-attribute

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

4.29 kB

Total Files

5

Last publish

Collaborators

  • zjb107017