100phlecs / tailwind_formatter

Sorts tailwind classes within elixir projects
https://hexdocs.pm/tailwind_formatter
MIT License
111 stars 11 forks source link

Read in custom configuration #42

Closed 100phlecs closed 12 months ago

100phlecs commented 1 year ago

Closes #27

First tried to bundle a node script and invoke it with a custom mix task, but the complexity in dependencies/packaging seemed too much.

Then realized one could tap into the internal modules available within the tailwind standalone cli (you can view what is available by console.log(require.cache))

aptinio commented 12 months ago

This is so awesome! :fire: