diff --git a/Makefile b/Makefile index 7ea281db8..33b584d98 100644 --- a/Makefile +++ b/Makefile @@ -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