From 2965d6e7a6edf58f0a8ce018b45ef2369bc878ab Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Thu, 6 Jun 2024 15:13:09 -0300 Subject: [PATCH] fix: ignore node_modules in makefile --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index a46b9ea..fa60610 100644 --- a/makefile +++ b/makefile @@ -11,6 +11,7 @@ dev-unocss: dev-air: air -build.pre_cmd 'make templ' \ -build.include_ext 'templ,css' \ + -build.exclude_dir 'node_modules' \ -proxy.enabled true \ -proxy.app_port $(PORT) \ -proxy.proxy_port $$(($(PORT) + 1)) \ @@ -18,7 +19,8 @@ dev-air: dev-vercel: air -build.pre_cmd 'make build-vercel' \ - -build.include_ext 'templ' \ + -build.include_ext 'templ,css' \ + -build.exclude_dir 'node_modules' \ -build.cmd 'make build-vercel' \ -build.bin './bin/vercel' \ -proxy.enabled true \