rules_typescript_proto
rules_typescript_proto copied to clipboard
Strip out _virtual_imports packages to support well known types
This is a first pass at working with the well known types and _virtual_imports. If this looks like a good approach, I can add some tests for it.
Fixes #4
I added a wkt to one of the protos and the commonjs test passes, but I'm getting a failure in the web test for which I couldn't figure out the right solution.
30 11 2019 12:59:54.601:WARN [web-server]: 404: /google-protobuf/google/protobuf/timestamp_pb.js
I haven't tested extensively, but this seems to work for me after merging. https://github.com/gonzojive/rules_typescript_proto/commit/41da6ce1735605ba3ef32b1498550cd3e3181667
What's the status of this? I just realised that I can't easily dep on "@com_google_protobuf//:empty_proto"
.