Skip to content

Conversation

@philipp-spiess
Copy link
Member

@philipp-spiess philipp-spiess commented Sep 4, 2024

This works similar to the Vue setup. The styles that Astro will receive might still contain Tailwind CSS APIs but since it's not picky, we can pass that through to the regular Vite transform handlers for now.

This, however, will have issues like #14205. We have to fix this together with Vue and other similar extensions later. For now, it will break when syntax is used that lightningcss rewrites (like @apply text-3xl/tight;)

@philipp-spiess philipp-spiess self-assigned this Sep 4, 2024
@philipp-spiess philipp-spiess force-pushed the feat/astro-inline-styles branch from d5a88cc to b404e65 Compare September 4, 2024 15:59
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
@philipp-spiess philipp-spiess merged commit 2dd52f5 into next Sep 4, 2024
@philipp-spiess philipp-spiess deleted the feat/astro-inline-styles branch September 4, 2024 17:14
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

Successfully merging this pull request may close these issues.

3 participants