johanbrandhorst/protobuf

protoc-gen-gopherjs: Use webpack to resolve imports after generation

johanbrandhorst opened this issue · 3 comments

This could remove the ugly sed replacing that's currently in-use.

See https://www.marwan.io/blog/wrapping-node-modules-with-gopherjs for some ideas.

Fixed in master, updated protoc-gen-gopherjs README with tips for adopter.

Got a reference to the commit?

17192d4
374a20a

From a user point of view it's probably easier to look at the grpcweb-example repo:
johanbrandhorst/grpcweb-example@5caf1d6