diff --git a/Makefile b/Makefile index f5a7781b2c94..f886c348641b 100644 --- a/Makefile +++ b/Makefile @@ -188,7 +188,7 @@ prepublish: $(MAKE) bootstrap-only $(MAKE) prepublish-build IS_PUBLISH=true $(MAKE) test - ./scripts/set-module-type.js clean + $(NODE) ./scripts/set-module-type.js clean new-version-checklist: # @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" @@ -235,11 +235,11 @@ bootstrap: bootstrap-only $(MAKE) generate-tsconfig build use-cjs: - ./scripts/set-module-type.js script + $(NODE) ./scripts/set-module-type.js script $(MAKE) bootstrap use-esm: - ./scripts/set-module-type.js module + $(NODE) ./scripts/set-module-type.js module $(MAKE) bootstrap clean-lib: