Skip to content

Commit

Permalink
setup assets
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrocp committed Sep 16, 2024
1 parent 51a8c10 commit dfac29b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
6 changes: 5 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ defmodule Beacon.MixProject do
"cmd npm run format-check --prefix ./assets"
],
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"],
"assets.setup": ["tailwind.install --if-missing --no-assets", "esbuild.install --if-missing"],
"assets.setup": [
"tailwind.install --if-missing --no-assets",
"esbuild.install --if-missing",
"cmd npm install --prefix assets"
],
"assets.build": ["esbuild cdn", "esbuild cdn_min", "esbuild tailwind_bundle"]
]
end
Expand Down

0 comments on commit dfac29b

Please sign in to comment.