File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,23 @@ http_archive(
37
37
],
38
38
)
39
39
40
+ http_archive (
41
+ name = "build_bazel_rules_nodejs" ,
42
+ url = "https://github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip" ,
43
+ strip_prefix = "rules_nodejs-0.16.2" ,
44
+ sha256 = "9b72bb0aea72d7cbcfc82a01b1e25bf3d85f791e790ddec16c65e2d906382ee0"
45
+ )
46
+
47
+ load ("@build_bazel_rules_nodejs//:defs.bzl" , "node_repositories" , "npm_install" )
48
+ node_repositories ()
49
+
50
+ # Dependencies for the @examples//hello_world_wasm example.
51
+ npm_install (
52
+ name = "npm" ,
53
+ package_json = "@io_bazel_rules_rust//:package.json" ,
54
+ package_lock_json = "@io_bazel_rules_rust//:package-lock.json" ,
55
+ )
56
+
40
57
load ("@io_bazel_rules_rust//bindgen:repositories.bzl" , "rust_bindgen_repositories" )
41
58
42
59
rust_bindgen_repositories ()
You can’t perform that action at this time.
0 commit comments