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()

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions