~fancycade/rebar3_tailwind

d33d72b6aca4641feaeaf52cc9a0524a38c428fe — Harley Swick 7 months ago 95681d4 1.0.1
Updates to app.src and README fixes
2 files changed, 5 insertions(+), 4 deletions(-)

M README.md
M src/rebar3_tailwind.app.src
M README.md => README.md +2 -1
@@ 19,9 19,10 @@ This is currently limited to a single input path. Patches are welcome to expand 
:

    {tailwind_opts, [{input, "./apps/my_project/priv/input.css"},
    		     {output, "./apps/my_project/priv/static/assets/output.css"}]}.
                     {output, "./apps/my_project/priv/static/assets/output.css"}]}.

In this example I am putting my required input.css file in the priv directory of my application. Most likely, this is what you want to do as well.
It is also recommended to add your output.css file gitignore.

Set the compile provider hook:


M src/rebar3_tailwind.app.src => src/rebar3_tailwind.app.src +3 -3
@@ 1,6 1,6 @@
{application, rebar3_tailwind,
 [{description, "A rebar plugin"},
  {vsn, "0.1.0"},
 [{description, "A rebar plugin to run tailwind at compile time"},
  {vsn, "1.0.1"},
  {registered, []},
  {applications,
   [kernel,


@@ 10,5 10,5 @@
  {modules, []},

  {licenses, ["Apache 2.0"]},
  {links, []}
  {links, [{git, "https://git.sr.ht/~fancycade/rebar3_tailwind"}]}
 ]}.