Skip to content

Commit

Permalink
Edit build.jl to use global node installation (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
trigaut authored and tlienart committed Nov 15, 2019
1 parent 96d709e commit 9435d89
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9435d89

Please sign in to comment.