27c103ab1324fd5d181b3e82f7ef3364c9f30e1c
chmalee
  Mon Feb 2 11:55:02 2026 -0800
Restore react bundle makefile no-op on mirrors. We provide the bundled file anyways, refs Michael Hiller email

diff --git src/hg/js/react/lib/makefile src/hg/js/react/lib/makefile
index 9e2ce425c10..bc804c6835e 100644
--- src/hg/js/react/lib/makefile
+++ src/hg/js/react/lib/makefile
@@ -1,20 +1,22 @@
 kentSrc = ../../../..
 include ../../../../inc/common.mk
 
 JS_DIR=../..
 
 # The original JSX source files
 JSX_FILES= CheckboxLabel.jsx CladeOrgDb.jsx Icon.jsx LabeledSelect.jsx LoadingImage.jsx \
 		Modal.jsx Section.jsx TextInput.jsx PositionSearch.jsx \
 		SetClearButtons.jsx Sortable.jsx SpeciesSearch.jsx TextArea.jsx UserRegions.jsx
 
 # The final product after compiling and bundling
 BUNDLE_FILE=reactLibBundle.js
 
 include ${JS_DIR}/install.mk
 include ../react.mk
 
+ifneq ($(wildcard /cluster/software/src/node-v0.10.24-linux-x64/bin/),)
 	NODEBIN=/cluster/software/src/node-v0.10.24-linux-x64/bin/
 	JSX=$(NODEBIN)/node $(NODEBIN)/jsx
 	UGLIFYJS=$(NODEBIN)/node $(NODEBIN)/uglifyjs
+endif