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

Invalid css transformation on build #15897

Open
emirhangumus opened this issue Jan 26, 2025 · 1 comment
Open

Invalid css transformation on build #15897

emirhangumus opened this issue Jan 26, 2025 · 1 comment

Comments

@emirhangumus
Copy link

emirhangumus commented Jan 26, 2025

What version of Tailwind CSS are you using?

v4.0.0

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

svelte 5.19.2, tailwindcss/vite 4.0.0, vite 6.0.11

What version of Bun js are you using?

v1.2.0

What browser are you using?

Zen Browser (Firefox)

What operating system are you using?

Ubuntu 22.04

Reproduction URL

https://play.tailwindcss.com/czuZLwTt4a

Describe your issue

On development mode
On production mode

The bug is, i have a class like this lg:bg-[center_bottom_-15rem] and on development mode, tailwind puts all thing as is. When build the app, transformation is convert that into invalid status.
center turning into 50% and its invalid.
Expectation is, not creating a invalid value.

@wongjn
Copy link
Contributor

wongjn commented Jan 26, 2025

Seems like a bug in Lightning CSS: parcel-bundler/lightningcss#771

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