Makefile compiles webpack only if needed.

This commit is contained in:
daniel 2019-12-23 06:58:27 +01:00
parent 34e9509cea
commit baaf7dd731

View File

@ -1,5 +1,7 @@
.PHONY: upload
upload:
yarn exec webpack && \
upload: assets/main.css
rsync -r --exclude .git/ --exclude src/ --exclude node_modules/ . doktorkraus.de:/var/www/bovender
assets/main.css: src/component.scss src/config.scss src/bovender.scss
yarn exec webpack