📈 Add umami code
This commit is contained in:
parent
4a965e28b7
commit
d73ec6ba7b
5 changed files with 57 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -1,5 +1,7 @@
|
|||
ifndef dev
|
||||
sass_opts = --no-source-map --style=compressed
|
||||
else
|
||||
compile_opts = dev
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
|
|
@ -10,7 +12,7 @@ clean:
|
|||
rm -v build/index.html build/style.css*
|
||||
|
||||
build/index.html: index.html config.toml compile.js
|
||||
node compile.js
|
||||
node compile.js $(compile_opts)
|
||||
|
||||
build/style.css: scss/style.scss node_modules/bootstrap/scss/_root.scss
|
||||
npx sass $(sass_opts) $< $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue