Protobufjs
#1499
Replies: 2 comments 3 replies
-
I found the reason. One way to avoid this is using dist file. In the output file of
to this
Then it will work with the snowpack warning like this
|
Beta Was this translation helpful? Give feedback.
3 replies
-
I use pbf with no issues. You have to parse the PBF yourself, but it's quite simple and the package is very light. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Did anyone try protobufjs with snowpack? It doesn't work on my end.
It's saying a variable is undefined. I checked with web_modules source code. It shows that snowpack compiled the variable to a different name "xxx_1", so it's undefined.
Does anyone have idea of what I can do? Thanks
Beta Was this translation helpful? Give feedback.
All reactions