Update our node.js bin paths to reference the .bin directory.

Review Request #11832 — Created Oct. 2, 2021 and submitted

chipx86
Djblets
release-2.x
djblets

We've been hard-coding paths to node.js-based executable files, pointing
to some place in node_modules/<module>/.... We've seen this change a
couple of times now, particularly with Babel.

There's already a built-in solution to this that makes our lives easier,
reduces maintenance, and better survives module updates. Each executable
has a symlink in node_modules/.bin/, which references the correct path
within the module.

This change updates our static media building to reference these more
stable paths.

Successfully built packages, and verified through ps auxw that the
.bin/ paths were being used.

Summary
Update our node.js bin paths to reference the .bin directory.
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.x (3ef5246)
Loading...