@hh.ru/babel-plugin-react-displayname

1.1.1 • Public • Published

@hh.ru/babel-plugin-react-displayname

Automatically detects and sets displayName for React components. This is useful for having real component names show up in production builds of React apps.

Installation

Simply add @hh.ru/babel-plugin-react-displayname to your .babelrc file:

{
    "plugins": ["@hh.ru/babel-plugin-react-displayname"]
}

Testing

yarn test

Package Sidebar

Install

npm i @hh.ru/babel-plugin-react-displayname

Weekly Downloads

71

Version

1.1.1

License

MIT

Unpacked Size

17.7 kB

Total Files

15

Last publish

Collaborators

  • hhru