tailwindcss-parcel-boilerplate icon indicating copy to clipboard operation
tailwindcss-parcel-boilerplate copied to clipboard

Parcel should build tailwind automatically

Open justingolden21 opened this issue 4 years ago • 1 comments

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.

justingolden21 avatar Jun 27 '21 07:06 justingolden21

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).

hacknug avatar Aug 10 '21 09:08 hacknug