Skip to content

Commit

Permalink
Only use bun for bundling if available
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed Nov 17, 2023
1 parent 84f018d commit 7971e08
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ dev-elm:


dist/main.js: src/Main.elm | node_modules
bun x elm-watch make --optimize
# Use bun if available
command -v bun >/dev/null \
&& bun x elm-watch make --optimize \
|| npx elm-watch make --optimize


.PHONY: build
Expand Down

0 comments on commit 7971e08

Please sign in to comment.