ben-rogerson / babel-plugin-twin

Activate twin.macro’s tw prop without adding the twin import. A companion plugin for twin.
41 stars 2 forks source link

Alert on usage of tw when no `import tw from "twin.macro"` #1

Closed ben-rogerson closed 1 year ago

ben-rogerson commented 3 years ago

This plugin has the ability to provide helpful feedback when we forget to import tw from "twin.macro" and attempt to use tw``.

This would be a great feature and shouldn't be too difficult to add.