We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sass
rules_js
1 parent 149fe61 commit b729846Copy full SHA for b729846
tools/sass/BUILD.bazel
@@ -1,4 +1,4 @@
1
-load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
+load("@aspect_rules_js//js:defs.bzl", "js_binary")
2
load("//tools:defaults2.bzl", "ts_project")
3
4
package(default_visibility = ["//visibility:public"])
@@ -19,9 +19,13 @@ ts_project(
19
],
20
)
21
22
-nodejs_binary(
+js_binary(
23
name = "compiler",
24
- data = [":sass_lib"],
25
- entry_point = "compiler-main.ts",
26
- templated_args = ["--bazel_patch_module_resolver"],
+ data = [":sass_lib_rjs"],
+ entry_point = "compiler-main.js",
+ env = {
27
+ # TODO(devversion): Replace `rules_sass` with modernized standalone ruleset.
28
+ # e.g. https://github.com/devversion/rules_sass.
29
+ "BAZEL_BINDIR": ".",
30
+ },
31
0 commit comments