Skip to content

Support for Browser Runtime #571

@sckimynwa

Description

@sckimynwa

Summary

Is there any considerations of Supporting Browser Runtime?
It will be really useful for Front-end Developers Using this library in Browser Runtime (like Chrome)

Details

Recently, I generated typescript API from my protobuf(.proto) file using this library.
I tried to use this API in my Nextjs Project.

it works on Server Side Request(Node.js runtime) as expected,
but When requesting in the browser, it didn't work
because it depends on nodejs runtime dependencies (like fs, utils, promisify ...etc)

It would be really helpful for Frontend Developers if this generator supports browser runtime.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.web

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions