mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-16 10:39:49 +00:00
Allow to bypass CSS rebuild
This commit is contained in:
1 parent
33aa021e96
commit
9270fc0b15
1 file changed
+2
-1
@@ -1,4 +1,5 @@
|
||||
PWD := $(shell pwd)
|
||||
NPX ?= npx
|
||||
|
||||
all: bundle.js main.css
|
||||
make -C ../../http-server ARGS="-d $(PWD)"
|
||||
@@ -9,7 +10,7 @@ bundle.js:
|
||||
|
||||
# Create optimised CSS. Prerequisite: npm -g i tailwindcss tailwindcss-font-inter
|
||||
main.css: index.html $(wildcard *.js)
|
||||
npx tailwindcss -o $@ --minify
|
||||
$(NPX) tailwindcss -o $@ --minify
|
||||
|
||||
clean:
|
||||
true
|
||||
Reference in new issue
Block a user