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

.eps files are included in source file detection #16880

Closed
andriygm opened this issue Feb 28, 2025 · 1 comment · Fixed by #16306
Closed

.eps files are included in source file detection #16880

andriygm opened this issue Feb 28, 2025 · 1 comment · Fixed by #16306
Labels

Comments

@andriygm
Copy link

What version of Tailwind CSS are you using?

v4.0.6

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

@tailwindcss/cli v4.0.9

What version of Node.js are you using?

v23.7.0

What browser are you using?

Arc (chromium)

What operating system are you using?

macOS

Reproduction URL

https://codesandbox.io/p/devbox/lffyvk

Describe your issue

When generating output CSS using Tailwind CLI (seems to also happen with the vite plugin), Tailwind includes .eps files and thus adds invalid syntax to the output CSS:

.\[h3_ZF_m9\:O\] {
    h3_ZF_m9: O;
  }
  .\[ro0OH\:\>GA9\*\&Z\;oheh-\!a_V\)gL\?\*\,oC_FdhIkP\=\=SBF\,B\\\`ff\$P2amRVs\] {
    ro0OH: >GA9*&Z;oheh-!a V)gL?*,oC FdhIkP==SBF,B\`ff$P2amRVs;
  }
  .\[t0\:IuYnhV6c\] {
    t0: IuYnhV6c;
  }

I couldn't find a way to manually exclude the file from source file detection apart from adding it to the .gitignore -- maybe it would be worth adding a way to ignore individual misbehaving files?

@RobinMalfait
Copy link
Member

Hey!

This should be fixed and will be available in the next release. You can already try it if you want using the insiders version:

  • npm install tailwindcss@insiders @tailwindcss/cli@insiders
  • npm install tailwindcss@insiders @tailwindcss/postcss@insiders
  • npm install tailwindcss@insiders @tailwindcss/vite@insiders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants