when I executed:
postcss tailwind.css -o public/build/styles.css
the styles.css file looked exactly like the tailwind.css still including the @tailwind directive.
After some hours of research I finally found the typo in my postcss.config.js ... so it had to be plugins and not plugin
I would rather prefer to crash on execution instead of failing silently. Don't not know if someone considered to validate the postcss.config.js for example with a json schema?
Hi,
I was setting up tailwindcss with postcss and had a strange issue without any error messages.
I created a tailwind.css file
and had a
postcss.config.js
like this:when I executed:
postcss tailwind.css -o public/build/styles.css
the styles.css file looked exactly like the tailwind.css still including the@tailwind
directive.After some hours of research I finally found the typo in my
postcss.config.js
... so it had to beplugins
and notplugin
I would rather prefer to crash on execution instead of failing silently. Don't not know if someone considered to validate the postcss.config.js for example with a json schema?