Skip to content

Commit

Permalink
fix(tailwindcss): fix TailwindCSS pack not loading in Phoenix projects (
Browse files Browse the repository at this point in the history
#1196)

See also #915

Phoenix projects put the tailwind.config.js file in the root /assets
folder. The addition of specific root dir detection in #912 broke the
elixir-phoenix pack.
  • Loading branch information
treshenry authored Sep 9, 2024
1 parent 09e9359 commit 5b25511
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/astrocommunity/pack/tailwindcss/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ return {
"tailwind.config.js",
"tailwind.config.ts",
"postcss.config.js",
"config/tailwind.config.js"
"config/tailwind.config.js",
"assets/tailwind.config.js"
)
return root_pattern(fname)
end,
Expand Down

0 comments on commit 5b25511

Please sign in to comment.