bem / bem/bem-react

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

Open
#571 0 comments 0 reactions 1 assignee Claimed by @yarastqt View on GitHub
improvement scope: pack
Dominant language
TypeScript
Stars
450
Forks
69
PR merge metrics
No merged PRs in 30d

Description

## Info

Tool should replace `__DEV__` flags in production mode to `false`

## Example

**dev mode**

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

**prod mode**

```ts
otherLogic()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.