See https://github.com/pnpm/spec/blob/master/lockfile/9.0.md#packagesdependencyidos
rules_js should use something such as select to exclude packages of other os/cpu architectures to avoid unnecessary targets and also avoid rules such as js_image_layer including packages for all os/cpus.