Practical guidance for working with rules_js is now maintained in the Aspect Bazel documentation.
rules_js