Skip to content

Commit 98e5ea4

Browse files
devversionjelbourn
authored andcommitted
build: specify runtime dependency for highlight-files binary (#15630)
1 parent 5af7b52 commit 98e5ea4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tools/highlight-files/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ ts_library(
88
srcs = glob(["**/*.ts"]),
99
deps = [
1010
"@npm//@types/node",
11-
"@npm//highlight.js",
1211
],
1312
tsconfig = ":tsconfig.json",
1413
)
@@ -17,6 +16,7 @@ nodejs_binary(
1716
name = "highlight-files",
1817
entry_point = "angular_material/tools/highlight-files/highlight-files.js",
1918
data = [
19+
"@npm//highlight.js",
2020
":sources",
2121
],
2222
)

tools/markdown-to-html/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ nodejs_binary(
1919
entry_point = "angular_material/tools/markdown-to-html/transform-markdown.js",
2020
data = [
2121
"@npm//marked",
22+
"@npm//highlight.js",
2223
":transform-markdown",
2324
],
2425
)

0 commit comments

Comments
 (0)