Skip to content

.eps files are included in source file detection #16880

@andriygm

Description

@andriygm

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    oxideIssues affecting file parsing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions