tree: 917b1cb9f419e34f7f0ffe107e76a4435e69dcc2 [path history] [tgz]
  1. coverage/
  2. genrule/
  3. js_binary/
  4. js_library/
  5. linked_consumer/
  6. linked_empty_node_modules/
  7. linked_lib/
  8. linked_pkg/
  9. macro/
  10. npm_deps/
  11. npm_package/
  12. webpack_cli/
  13. BUILD.bazel
  14. README.md
examples/README.md

Examples of using rules_js

This folder contains very small, self-contained examples. We run the examples on CI as well, so they also serve as integration tests for this repo.

When reporting an issue, you can create a minimal reproduction by adding to this folder and send a PR (likely failing tests). This helps us out since we can use your new example as the regression test.

Since rules_js users download this whole repo, our larger examples are in https://github.com/aspect-build/bazel-examples. These include: