You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
What version of @tailwindcss/jit are you using?
v0.1.17
What version of Node.js are you using?
v15.12.0
What build tool (or framework if it abstracts the build tool) are you using?
gatsby-cli v3.1.0
What browser are you using?
Firefox, Chrome
What operating system are you using?
Fedora Linux 33
Reproduction repository
https://github.com/rbottomley/jit-issue
An arbitrary value class does not get compiled by Tailwind JIT when the class contains values that are passed into a Gatsby component via props.
Example, index.js contains:
<Widget w="420px"/>
and widget.js component contains:
The HTML output is correct:
<div class="bg-[#0b0] w-[420px] my-6 p-6">Tailwind JIT example inside of component. 420px wide</div>
The arbitrary value class
bg-[#0b0]
works butw-[420px]
does not.The text was updated successfully, but these errors were encountered: