Merge "Revert "Remove highlight.js js_component""

This commit is contained in:
Kasper Nilsson
2018-04-18 09:31:44 +00:00
committed by Gerrit Code Review
2 changed files with 9 additions and 0 deletions

View File

@@ -24,6 +24,12 @@ load("//lib/js:bower_components.bzl", "define_bower_components")
define_bower_components()
js_component(
name = "highlightjs",
srcs = ["//lib/highlightjs:highlight.min.js"],
license = "//lib:LICENSE-highlightjs",
)
filegroup(
name = "highlightjs_files",
srcs = ["//lib/highlightjs:highlight.min.js"],

View File

@@ -11,6 +11,9 @@ bower_component_bundle(
"//lib/js:ba-linkify",
"//lib/js:es6-promise",
"//lib/js:fetch",
# Although highlightjs is inserted separately in the UI zip, it's used
# by local development servers (e.g. --polygerrit-dev or run-server.sh).
"//lib/js:highlightjs",
"//lib/js:iron-a11y-keys-behavior",
"//lib/js:iron-autogrow-textarea",
"//lib/js:iron-dropdown",