Skip to content

Noisy console #15

@Minhir

Description

@Minhir

Hi @andypf, thanks for creating such a great library!

I noticed there are a few console statements in the code. For example, there is console.debug(error) in the isUrl function. It doesn't provide any value to the library users and can add additional noise into console, increase bundle size and slightly impact performance.

What do you think about removing it? It's also possible to introduce log function, which works only with NODE_ENV=development flag.

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