tailwindcss-parcel-boilerplate
tailwindcss-parcel-boilerplate copied to clipboard
Parcel should build tailwind automatically
I see you are running multiple npm scripts to build for dev and prod using parcel and postcss. Parcel v2 should automatically use postcss to build tailwind. If you're encountering issues, try deleting the cache directories.
Last time I took a look at this, there was some kind of issue with Parcel's nightly and Tailwind's v2.2 that was preventing it from working the way both you and I would like.
Feel free to open a PR with the changes.
Whatever we do should use Tailwind's defaults, custom config values and JIT one-offs. Ideally, the manual import of the processed CSS file should also go away (should happen once Parcel handles rebuilds of our style dependencies correctly).