Closed rafaelluz-f closed 9 months ago
Reordering the plugin's array solved it for me. Instead of adding the iconsPlugin()
as the last item, I did add it as the first one, and the problem was solved.
plugins: [
iconsPlugin({ collections: getIconCollections(['heroicons', 'ph']) }),
require('@tailwindcss/aspect-ratio'),
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('tailwindcss-debug-screens'),
],
:tada: This issue has been resolved in version 1.1.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
my previous fix only fixed it on macOS, let me know if it works now
Related issue: https://github.com/egoist/tailwindcss-icons/issues/3
First of all thanks for your time in building this awesome library. I'm opening this issue because I'm still having the same issue above in version 1.1. With the error, I can't format the code using prettier.
Package.Json:
tailwind.config.cjs: