Skip to content

@bem-react/pack: Add dev and production build #571

Description

@yarastqt

Info

Tool should replace __DEV__ flags in production mode to false

Example

dev mode

if (__DEV__) {
  invariant(false, 'Some message')
}
otherLogic()

prod mode

otherLogic()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions