mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: specify runtime dependency for highlight-files binary (#15630)
This commit is contained in:
committed by
Jeremy Elbourn
parent
5af7b52108
commit
98e5ea45b7
@@ -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",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -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",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user