-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi,
Thanks for the example. I hope you have experienced something similar to my problem. Feel free to close if you do not want to help (Which is just fine)
I am also bundling google-protobuf (https://www.npmjs.com/package/google-protobuf) with angular, the bundling is performed, but on runtime protobuf fails because Buffer is not defined.
It happens here: https://github.com/protocolbuffers/protobuf/blob/master/js/binary/utils.js on line 1049.
So it seems that angular does bundle/webpack Buffer even though it is used.
Did you experience something similar or have an intuition about how to fix it.
Thanks, Jesper
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels