Skip to content

Probably wrong custom classes after added to project #62

@oliver-kriska

Description

@oliver-kriska

Hi,

We recently added this extension to our Phoenix project. So far 2 developers had problems with the formatter. It generated different changes which were later blocked in CI/CD as wrong. We found out that when these developers pulled new changes, they had to do the same as you suggest to do for CI/CD.

❯  mix tailwind default

❯  mix deps.compile tailwind_formatter --force
==> tailwind_formatter
Compiling 5 files (.ex)
Loading in .../_build/classes.txt.
Loading in .../_build/variants.txt.
Generated tailwind_formatter app

So it looks to me like we didn't have proper txt files when we first compiled this dep.
I think you plan to fix this with the Tailwind 4.0 update, but it would be nice to mention it until it is fixed. Or do you have any suggestions please?
Thanks for this project, by the way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions