This PR is a continuation of #117 with a few changes. These changes include:
Refactored to use a simple function instead. This way it doesn't rely on the @types/tailwindcss Definetely Typed repo which could cause issues when we release Tailwind CSS 3.1 with our own types.
Use export = plugin instead of export default plugin so that it is compatible with module.export which is what most people use.
This PR is a continuation of #117 with a few changes. These changes include:
@types/tailwindcss
Definetely Typed repo which could cause issues when we release Tailwind CSS 3.1 with our own types.export = plugin
instead ofexport default plugin
so that it is compatible withmodule.export
which is what most people use.Closes: #117