Fix path to worker_protocol.proto in ts_library for @npm/typescript package downstream in rules_nodejs
Closes #455
PiperOrigin-RevId: 251655598
diff --git a/internal/tsc_wrapped/worker.ts b/internal/tsc_wrapped/worker.ts
index 6362aa1..dc50055 100644
--- a/internal/tsc_wrapped/worker.ts
+++ b/internal/tsc_wrapped/worker.ts
@@ -72,7 +72,7 @@
*/
function loadWorkerPb() {
const protoPath =
- '../worker_protocol.proto';
+ '../../third_party/github.com/bazelbuild/bazel/src/main/protobuf/worker_protocol.proto';
// Use node module resolution so we can find the .proto file in any of the
// root dirs