fix(Makefile): failed compile assets

This commit is contained in:
Muhammad Saleh Solahudin 2025-02-20 11:39:20 +07:00
parent d1b889456d
commit 1d04b66c67

View File

@ -2,8 +2,8 @@
NODE_PATH ?= $(PWD)/ui/node_modules NODE_PATH ?= $(PWD)/ui/node_modules
assets: assets:
@if [ ! -d "$(NODE_PATH)" ]; then cd ./ui && yarn install --modules-folder $(NODE_PATH); fi @if [ ! -d "$(NODE_PATH)" ]; then cd ./ui && NODE_OPTIONS=--openssl-legacy-provider yarn install --modules-folder $(NODE_PATH); fi
cd ./ui && yarn build --modules-folder $(NODE_PATH) cd ./ui && NODE_OPTIONS=--openssl-legacy-provider yarn build --modules-folder $(NODE_PATH)
# This target skips the overhead of building UI assets. # This target skips the overhead of building UI assets.
# Intended to be used during development. # Intended to be used during development.