diff --git a/ts/congrats/BUILD.bazel b/ts/congrats/BUILD.bazel index e22b5cdcb..5d389a01e 100644 --- a/ts/congrats/BUILD.bazel +++ b/ts/congrats/BUILD.bazel @@ -36,7 +36,7 @@ esbuild( ], args = [ "--global-name=anki", - "--inject:ts/protobuf-shim.js", + "--inject:$(location //ts:protobuf-shim.js)", ], entry_point = "index.ts", external = [ diff --git a/ts/graphs/BUILD.bazel b/ts/graphs/BUILD.bazel index dca601f51..057b572d9 100644 --- a/ts/graphs/BUILD.bazel +++ b/ts/graphs/BUILD.bazel @@ -52,7 +52,7 @@ esbuild( ], args = [ "--global-name=anki", - "--inject:ts/protobuf-shim.js", + "--inject:$(location //ts:protobuf-shim.js)", ], entry_point = "index.ts", external = [