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

Vite: Transform <style> blocks in html files #16069

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

philipp-spiess
Copy link
Member

Fixes #16036

This adds a new rule to treat <style> blocks found within .html file as Tailwind CSS targets.

Test plan

  • Tested using the Vite extension (dev) and a new integration test (prod)

@philipp-spiess philipp-spiess requested a review from a team as a code owner January 30, 2025 14:50
@philipp-spiess philipp-spiess force-pushed the fix/vite-html-style-blocks branch from a0d358a to 76903fd Compare January 30, 2025 14:50
@philipp-spiess philipp-spiess force-pushed the fix/vite-html-style-blocks branch from 76903fd to 9405d42 Compare January 30, 2025 14:52
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.

Cannot use HTML style tag with Vite to apply a theme
2 participants