Skip to content

Check for process.env === 'production' to not include devtools #431

@mohsen1

Description

@mohsen1

Just wrapping entire module code in if (process.env !== 'production') {} will do it. Most minifiers will remove the code in production.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions