Missing Styles When Developing with bun-plugin-tailwind #19024
-
What version of Tailwind CSS are you using? For example: What build tool (or framework if it abstracts the build tool) are you using? For example: bun-cli 1.2.22 What version of Node.js are you using? For example: v22.17.1 What browser are you using? For example: Chrome107.0.5304.63 What operating system are you using? For example: Windows Reproduction URL https://github.com/Zzzz-Dz/bun-plugin-tailwind-issue Describe your issue I'm using bun-plugin-tailwind to leverage Bun's built-in file type resolution, which allows me to quickly serve and run HTML/JSX files and React applications. While the plugin generally works, I'm encountering selective styling issues with Tailwind classes:
This selective failure is preventing me from fully utilizing Tailwind's color system while working with Bun's full-stack development capabilities. My primary goal is to use Bun's native file handling capabilities for rapid development of React applications with Tailwind CSS. The selective application of only certain color classes (specifically black working while other colors fail) suggests a potential issue with how color palettes are being processed or resolved by the plugin. attach picture: ![]() |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Related: |
Beta Was this translation helpful? Give feedback.
-
It's worth noting that color is merely the most minor issue |
Beta Was this translation helpful? Give feedback.
-
Have you tried restarting the build and/or bumping dependencies and bun to the latest version? When I load the reproduction it works as expected: ![]() |
Beta Was this translation helpful? Give feedback.
Have you tried restarting the build and/or bumping dependencies and bun to the latest version?
When I load the reproduction it works as expected: