Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parcel should build tailwind automatically #159

Open
justingolden21 opened this issue Jun 27, 2021 · 1 comment
Open

Parcel should build tailwind automatically #159

justingolden21 opened this issue Jun 27, 2021 · 1 comment

Comments

@justingolden21
Copy link

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.

@hacknug
Copy link
Owner

hacknug commented Aug 10, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants