babel-plugin-transform-stitches-display-name
Babel plugin to add displayName to your styled component
Input
let foo = ;
Output
let foo = Object;
Installation
$ npm install babel-plugin-transform-stitches-display-name
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
$ babel --plugins transform-stitches-display-name script.js
Via Node API
;
Acknowledgements
This plugin is adapted from @babel/plugin-transform-react-display-name many thanks to the Babel team.