protoc-gen-gopherjs: Use webpack to resolve imports after generation
johanbrandhorst opened this issue · 3 comments
johanbrandhorst commented
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.
johanbrandhorst commented
Fixed in master, updated protoc-gen-gopherjs README with tips for adopter.
norunners commented
Got a reference to the commit?
johanbrandhorst commented
From a user point of view it's probably easier to look at the grpcweb-example repo:
johanbrandhorst/grpcweb-example@5caf1d6