Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grpc-web not working with Vite, either js or ts file generated by protoc-gen-grpc-web or protobuf-ts. #1256

Closed
gyang274 opened this issue Jul 4, 2022 · 1 comment

Comments

@gyang274
Copy link

gyang274 commented Jul 4, 2022

A simplest replicate demo: https://github.com/gyang274/demo-grpc-web-vite-issue

I tried 3 solutions, all has its own issue at some stage.

I see similar issues reported at
#535
#1242

None of the solutions suggested in above works in my case, and tried them all.

Thanks in advance.

@gyang274 gyang274 changed the title grpc-web not working with Vite, js, ts file. grpc-web not working with Vite, either js or ts file generated by protoc-gen-grpc-web or protobuf-ts. Jul 5, 2022
@gyang274
Copy link
Author

gyang274 commented Jul 5, 2022

Demo is working following the discussion at: vitejs/vite#8926

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant