chore(Makefile): frontend-build
This commit is contained in:
parent
11fb926742
commit
481adcbd17
8
Makefile
8
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user