diff --git a/tools/highlight-files/BUILD.bazel b/tools/highlight-files/BUILD.bazel index 969078189b3..7c9521f8c89 100644 --- a/tools/highlight-files/BUILD.bazel +++ b/tools/highlight-files/BUILD.bazel @@ -8,7 +8,6 @@ ts_library( srcs = glob(["**/*.ts"]), deps = [ "@npm//@types/node", - "@npm//highlight.js", ], tsconfig = ":tsconfig.json", ) @@ -17,6 +16,7 @@ nodejs_binary( name = "highlight-files", entry_point = "angular_material/tools/highlight-files/highlight-files.js", data = [ + "@npm//highlight.js", ":sources", ], ) diff --git a/tools/markdown-to-html/BUILD.bazel b/tools/markdown-to-html/BUILD.bazel index b8d774fe7fb..916773bf6c3 100644 --- a/tools/markdown-to-html/BUILD.bazel +++ b/tools/markdown-to-html/BUILD.bazel @@ -19,6 +19,7 @@ nodejs_binary( entry_point = "angular_material/tools/markdown-to-html/transform-markdown.js", data = [ "@npm//marked", + "@npm//highlight.js", ":transform-markdown", ], )