Skip to content

Disable all console logs on production builds #253

Description

@yusufkinatas

We are using vad-react on our app, with only useMicVAD.

And the issue we're facing is, there is no way to disable logs that's fired from vad-web source code.

I can think about few approaches

  • Add a property like disableLogs?: boolean to useMicVAD config, and useMicVAD passes it to vad-web.
  • Check if host includes localhost to only log while working on local

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions