Remove highlight.js js_component

As indicated in the comment in the bower_component_bundle, this is not
required to be part of the bundle, and is copied directly into the
output zip. Unlike other bower components, this one is intended to be
served from a separate file and loaded on demand, to decrease initial
page load time.

Change-Id: I97a7fbbb7755a10250abf2610c33ed9bcdf73167
This commit is contained in:
Dave Borowitz
2018-03-26 10:30:51 -04:00
parent 8ccfd72452
commit a7f0e62938
2 changed files with 0 additions and 8 deletions

View File

@@ -24,12 +24,6 @@ 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

@@ -10,8 +10,6 @@ bower_component_bundle(
deps = [
"//lib/js:es6-promise",
"//lib/js:fetch",
# TODO(hanwen): this is inserted separately in the UI zip. Do we need this here?
"//lib/js:highlightjs",
"//lib/js:iron-a11y-keys-behavior",
"//lib/js:iron-autogrow-textarea",
"//lib/js:iron-dropdown",