tree: 660ad589e76b314a48a0567d17496f40e805fff6
  1. .aspect/
  2. coverage/
  3. genrule/
  4. js_binary/
  5. js_lib_pkg/
  6. js_library/
  7. linked_consumer/
  8. linked_empty_node_modules/
  9. linked_lib/
  10. linked_pkg/
  11. macro/
  12. nextjs/
  13. npm_deps/
  14. npm_package/
  15. package_json_module/
  16. rspack/
  17. runfiles/
  18. stack_traces/
  19. stamped_package_json/
  20. vite3/
  21. vite6/
  22. webpack_cli/
  23. worker/
  24. .bazelignore
  25. .bazelrc
  26. .npmrc
  27. BUILD.bazel
  28. MODULE.bazel
  29. package.json
  30. pnpm-lock.yaml
  31. pnpm-workspace.yaml
  32. 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: