chore(Makefile): frontend-build

This commit is contained in:
Sarah Vaupel 2024-01-16 00:15:11 +01:00
parent 11fb926742
commit 481adcbd17

View File

@ -32,6 +32,14 @@ database: .develop.env .stack-work.lock # --stack-work-build
export SERVER_SESSION_ACID_FALLBACK=$${SERVER_SESSION_ACID_FALLBACK:-true}
stack exec uniworxdb -- $(db)
.PHONY: frontend-%
frontend-%: node_modules
$(MAKE) -- --frontend-$*
.PHONY: --frontend-build
--frontend-build:
npx -- webpack --progress
node_modules: .npmrc package.json
npm ci --cache .npm --prefer-offline