We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
src
@font-face
What version of Tailwind CSS are you using?
For example: both 3.4.13 and 4.0.0-alpha.30
What build tool (or framework if it abstracts the build tool) are you using?
This happens in the online playground as well. Originally Next.js with Turbopack
What version of Node.js are you using?
v20
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/NObbqx3vf9?file=css
Describe your issue
Tailwind turns
@font-face { font-family: 'Inconsolata'; font-style: normal; font-weight: 200 900; font-stretch: 100%; font-display: swap; src: url(some/url/with/query?{%22url%22:%22https://fonts.gstatic.com/s/inconsolata/v32/QlddNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLyxq15IDhunJ_o.woff2%22,%22preload%22:false,%22has_size_adjust%22:true}) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
into
@font-face { font-family: 'Inconsolata'; font-style: normal; font-weight: 200 900; font-stretch: 100%; font-display: swap; src: url(some/url/with/query? { %22url%22: %22https://fonts.gstatic.com/s/inconsolata/v32/QlddNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLyxq15IDhunJ_o.woff2%22,%22preload%22:false,%22has_size_adjust%22:true; } ) format('woff2': ) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
Notice that src: value has some newlines, and that format() is duplicated with invalid syntax.
src:
format()
The text was updated successfully, but these errors were encountered:
Hey! Thanks a ton for this report. We actually just merged some fixed around this into the next branch the other day: #14879
next
I did some quick test with your example and it does seem to fix the issue. We plan to release a new alpha very soon so you can test it too!
Sorry, something went wrong.
Turbopack: Don't run PostCSS on internal assets (#72579)
82ef14c
Closes PACK-3318 Closes #71618 This is a good idea in general, and also works around a Tailwind bug breaking `next/font`: tailwindlabs/tailwindcss#14951
No branches or pull requests
What version of Tailwind CSS are you using?
For example: both 3.4.13 and 4.0.0-alpha.30
What build tool (or framework if it abstracts the build tool) are you using?
This happens in the online playground as well. Originally Next.js with Turbopack
What version of Node.js are you using?
v20
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/NObbqx3vf9?file=css
Describe your issue
Tailwind turns
into
Notice that
src:
value has some newlines, and thatformat()
is duplicated with invalid syntax.The text was updated successfully, but these errors were encountered: