diff --git a/src/build.jl b/src/build.jl index 036760e9d..d6e54ebef 100644 --- a/src/build.jl +++ b/src/build.jl @@ -20,7 +20,13 @@ const PIP = begin end end end -const NODE = NodeJS.nodejs_cmd() +const NODE = begin + if "NODE" ∈ keys(ENV) + ENV["NODE"] + else + NodeJS.nodejs_cmd() + end +end #= Pre-rendering