bradlc / babel-plugin-tailwind-components

Use Tailwind with any CSS-in-JS library
MIT License
332 stars 25 forks source link

Suggestion for clarity in README #14

Open cweekly opened 6 years ago

cweekly commented 6 years ago

This disclaimer might scare people off:

"Note: you will also need to install and enable @babel/plugin-syntax-object-rest-spread if you haven’t already"

I suggest adding a note that @babel/plugin-syntax-object-rest-spread is included in babel-preset-react-app, so the dependency is met in non-ejected CRA2 apps.

Also, I wanted to say thank you for providing this plugin as a macro. CRA1 apps + rewired worked pretty well, but so many plugins are broken bc of Webpack 4's new API. For non-ejected CRA2 apps, it looks like macros are emerging as the way to go, and it takes early adoption by maintainers like you to help move things forward. So, thanks! :)