Skip to content

Commit 8d037f6

Browse files
lauraharkercopybara-github
authored andcommitted
Fix runtime crash in resource loading of polyfills.txt
PiperOrigin-RevId: 646518418
1 parent 175509d commit 8d037f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BUILD.bazel

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ java_library(
147147
java_library(
148148
name = "compiler_lib",
149149
resources = [
150-
":polyfills.txt",
150+
":src/java/com/google/javascript/jscomp/js/polyfills.txt",
151151
":runtime_libs_srcs",
152152
":runtime_libs_typedast",
153153
],
@@ -163,7 +163,7 @@ typedast(
163163
genrule(
164164
name = "gen_polyfill_table",
165165
srcs = [":runtime_libs_srcs"],
166-
outs = ["polyfills.txt"],
166+
outs = ["src/java/com/google/javascript/jscomp/js/polyfills.txt"],
167167
cmd = "node $(location src/com/google/javascript/jscomp/js/build_polyfill_table.js) $(SRCS) | sed 's,[^ ]*jscomp/js/,,g' > $@",
168168
tools = [
169169
"src/com/google/javascript/jscomp/js/build_polyfill_table.js",

0 commit comments

Comments
 (0)