tree: a7857de093ce42a25bab6dd9b742a4b4b19ab7ef [path history] [tgz]
  1. coverage/
  2. genrule/
  3. js_binary/
  4. js_lib_pkg/
  5. js_library/
  6. linked_consumer/
  7. linked_empty_node_modules/
  8. linked_lib/
  9. linked_pkg/
  10. macro/
  11. npm_deps/
  12. npm_package/
  13. runfiles/
  14. webpack_cli/
  15. BUILD.bazel
  16. 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: