woutdp / live_svelte

Svelte inside Phoenix LiveView with seamless end-to-end reactivity
https://hexdocs.pm/live_svelte
MIT License
1.2k stars 46 forks source link

Add `tailwind default --minify` to `assets.deploy` alias #98

Closed thisistonydang closed 10 months ago

thisistonydang commented 10 months ago

Summary

Update README to include tailwind default --minify in assets.deploy alias.

Reason for change

During dev, the Tailwind watcher in config/dev.exs will build CSS. However in deployment, the CSS will not be built if tailwind default --minify is not included in the deployment script. Since Phoenix supports Tailwind by default, it might be a good idea to keep the Tailwind build command by default and just have a note to let users know they don't need it if not using Tailwind.

woutdp commented 10 months ago

Thanks!