-
Notifications
You must be signed in to change notification settings - Fork 790
Closed
Description
I used protoc -I=. protos/*.proto --js_out=import_style=commonjs,binary:grpcproto_web/ --grpc-web_out=import_style=typescript,mode=grpcweb:grpcproto_web/
to generate my proto file.
Then whenever I try to import proto objects like import { LoginRequest } from '../protos/login_pb';
I get errors Uncaught SyntaxError: import not found: LoginRequest
.
I looked at issues #535 or vite#3898 but nothing works.
Does anyone have a working example using Vite+Typescript with grpc-web ?
eselkin, Krzysztof-Dziardziel, FredrikMeyer, Juricakov, skroczek and 32 moreKrzysztof-Dziardziel, FredrikMeyer, barrelful, afcjunior, yuujitaka and 2 more
Metadata
Metadata
Assignees
Labels
No labels