124657e7237dc69f6fb1041d917cb79df0233993 — Harley Swick 9 months ago 468a992
Include note about post provider hook
1 files changed, 5 insertions(+), 4 deletions(-)

M README.md => README.md +5 -4
@@ 24,13 24,14 @@ Set options:
    {tailwind_opts, [{input, "./apps/hello_world/priv/input.css"},
                     {output, "./_build/default/lib/hello_world/priv/static/assets/output.css"}]}.

Set the pre compile provider hook:
Set the compile provider hook:

    {provider_hooks, [
                     {pre, [{compile, {tailwind, compile}}
                     {post, [{compile, {tailwind, compile}}]}

Then just compile your project:
It is recommended to set it as post, not pre. The logic being, we don't care what our website looks like if the erlang application can't even compile.

Then simply compile your project and your compiled css will be at the output path:

    $ rebar3 compile