phoenixframework / tailwind

An installer for tailwind
MIT License
467 stars 61 forks source link

tailwind.install task does not honor profiles #77

Closed cjbottaro closed 1 year ago

cjbottaro commented 1 year ago

It's hardcoded to create assets/tailwind.config.js and assets/css/app.css, despite using profiles that use other directories.

Edit: tailwind.install is being invoked from my watcher config like this:

tailwind: {Tailwind, :install_and_run, [:engineering, ~w(--watch)]}

I think run uses the profile, but install doesn't.

Related to #44.

josevalim commented 1 year ago

I added a --no-assets option so you can skip the assets.