Remove TailwindCSS from dependencies #11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Freedive is using Bulma for the CSS framework and does not require Tailwind. Additionally the compiler for tailwind is a pain to build on FreeBSD. A workaround for x86/amd64 exists, but arm64 is unsupported. Since we don;t use the framework at all, removing the boilerplate dependency seems like a good idea.
https://elixirforum.com/t/how-to-remove-tailwind-from-phoenix-completely-i-only-want-vanilla-css/54551/
:tailwind
frommix.exs
tailwind.install
,tailwind default
fromaliases
inmix.exs
(make sure to preserveesbuild
-related commands, if you still plan to use that!)@import "tailwindcss/...
fromapp.css
/assets/tailwind.config.js
config :tailwind
fromconfig.exs
tailwind: {Tailwind, :install_and_run, [:default, ~w(--watch)]}
fromwatchers
insidedev.exs
mix deps.clean --unlock --unused