rules_js icon indicating copy to clipboard operation
rules_js copied to clipboard

Enable bzlmod again w Bazel 5.3.0

Open alexeagle opened this issue 3 years ago • 1 comments

It was disabled to land https://github.com/aspect-build/rules_js/pull/403#pullrequestreview-1082899839

alexeagle avatar Aug 23 '22 22:08 alexeagle

Please publish aspect_rules_js 1.1.0 to the bazel-central-registry.

brettwooldridge avatar Aug 30 '22 17:08 brettwooldridge

rules_js now works with bzlmod however it requires Bazel 6.0.0rc2 to work. There is an outstanding bug in Bazel which means you can't set --remote_download_minimal (or toplevel) with 6.0.0rc2. The fix for that should make the 6.0.0 release: https://github.com/bazelbuild/bazel/pull/16812.

1.7.0 is the latest in bazel-central-registry. See the https://github.com/aspect-build/rules_js/blob/main/e2e/bzlmod/MODULE.bazel example for how to configure rules_js in your MODULE.bazel.

gregmagolan avatar Nov 23 '22 08:11 gregmagolan