mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 07:28:13 +08:00
Allow to bypass CSS rebuild
This commit is contained in:
parent
33aa021e96
commit
9270fc0b15
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user