The prior logic for selecting a tool (either bun / yarn / npm) became confusing with multiple tools (and the JS ecosystem has many tools). This simplifies the logic and fixes a subtle bug where a package-lock.json is ignored if bun is installed. This issue seems to have been introduced with:
The prior logic for selecting a tool (either
bun
/yarn
/npm
) became confusing with multiple tools (and the JS ecosystem has many tools). This simplifies the logic and fixes a subtle bug where apackage-lock.json
is ignored if bun is installed. This issue seems to have been introduced with:https://github.com/rails/jsbundling-rails/pull/179/files