Rebar3_tailwind - a rebar plugin to run tailwind at compile time

I’ve published my first official version of rebar3_tailwind today, and I wanted to share it with the rest of the community.

Hex: rebar3_tailwind | Hex
Git: ~fancycade/rebar3_tailwind - sourcehut git

This plugin extends the erlang compiler to also run the tailwindcss executable at compile time. Thus saving the developer the step of running tailwind separately.

It is very basic in that it just runs the tailwindcss with input and output params.

Most of the code is stolen from GitHub - tsloughter/rebar3_erlydtl_plugin: Rebar3 Erlydtl Plugin, which is the plugin that gave me the idea to do this in the first place.

5 Likes

Congrats on your first plugin Harley :confetti_ball:

Tailwind has become quite popular so I am sure a lot of people will find this useful :023:

3 Likes