Skip to content

Commit 1d98e66

Browse files
committed
build: remove unused sass compiler binary
We no longer need this since we migrated to `rules_sass` that leverages Dart Sass with path mappings. (cherry picked from commit fffe5c6)
1 parent 9b25bce commit 1d98e66

File tree

4 files changed

+0
-104
lines changed

4 files changed

+0
-104
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
"@bazel/buildifier": "6.1.2",
8787
"@bazel/ibazel": "0.16.2",
8888
"@bazel/runfiles": "5.8.1",
89-
"@bazel/worker": "^5.8.1",
9089
"@firebase/app-types": "^0.7.0",
9190
"@material/material-color-utilities": "^0.3.0",
9291
"@octokit/rest": "18.3.5",

pnpm-lock.yaml

-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/sass/BUILD.bazel

-16
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,15 @@
1-
load("@aspect_rules_js//js:defs.bzl", "js_binary")
21
load("//tools:defaults2.bzl", "ts_project")
32

43
package(default_visibility = ["//visibility:public"])
54

65
ts_project(
76
name = "sass_lib",
87
srcs = [
9-
"compiler-main.ts",
108
"local-sass-importer.ts",
119
],
1210
tsconfig = "//tools:tsconfig",
1311
deps = [
14-
"//:node_modules/@bazel/worker",
1512
"//:node_modules/@types/node",
16-
"//:node_modules/@types/yargs",
1713
"//:node_modules/sass",
18-
"//:node_modules/yargs",
1914
],
2015
)
21-
22-
js_binary(
23-
name = "compiler",
24-
data = [":sass_lib"],
25-
entry_point = "compiler-main.js",
26-
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-
)

tools/sass/compiler-main.ts

-72
This file was deleted.

0 commit comments

Comments
 (0)