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

Tailwind preflight doesn't produce sourcemap file deterministically #7583

Closed
thyming opened this issue Feb 22, 2022 · 0 comments · Fixed by #7588
Closed

Tailwind preflight doesn't produce sourcemap file deterministically #7583

thyming opened this issue Feb 22, 2022 · 0 comments · Fixed by #7588

Comments

@thyming
Copy link

thyming commented Feb 22, 2022

What version of Tailwind CSS are you using?

v3.0.11

What build tool (or framework if it abstracts the build tool) are you using?

react-scripts 5.0

What version of Node.js are you using?
v16.13.2

What browser are you using?

N/A

What operating system are you using?

macOS

Describe your issue

When tailwind preflight is processed by postcss, it does not pass a from parameter to postcss.parse, so sourcemaps generated by postcss get a random from value for every build. This makes sourcemaps produced by postcss non-deterministic.

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