1.0.4 • Published 5 years ago

babel-plugin-collect-jsx-attribute v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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