mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-04-18 23:00:11 +08:00
fix(Makefile): failed compile assets
This commit is contained in:
parent
d1b889456d
commit
1d04b66c67
4
Makefile
4
Makefile
@ -2,8 +2,8 @@
|
||||
|
||||
NODE_PATH ?= $(PWD)/ui/node_modules
|
||||
assets:
|
||||
@if [ ! -d "$(NODE_PATH)" ]; then cd ./ui && yarn install --modules-folder $(NODE_PATH); fi
|
||||
cd ./ui && yarn build --modules-folder $(NODE_PATH)
|
||||
@if [ ! -d "$(NODE_PATH)" ]; then cd ./ui && NODE_OPTIONS=--openssl-legacy-provider yarn install --modules-folder $(NODE_PATH); fi
|
||||
cd ./ui && NODE_OPTIONS=--openssl-legacy-provider yarn build --modules-folder $(NODE_PATH)
|
||||
|
||||
# This target skips the overhead of building UI assets.
|
||||
# Intended to be used during development.
|
||||
|
Loading…
x
Reference in New Issue
Block a user