phoenixframework / tailwind

An installer for tailwind
MIT License
473 stars 60 forks source link

Fixing issue #16 - https://github.com/phoenixframework/tailwind/issue… #17

Closed thecoldwine closed 2 years ago

thecoldwine commented 2 years ago

Small bugfix for issue #16.

If there is a file assets/tailwind.config.js, then mix tailwind.install will not overwrite it.

I considered adding additional configuration parameter to the task like mix tailwind.install --override-config, but I decided it might be a bit confusing to the user.

Open to any suggestions!