Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove warning from production #980

Merged
merged 1 commit into from
Jan 13, 2019
Merged

Remove warning from production #980

merged 1 commit into from
Jan 13, 2019

Conversation

TrySound
Copy link
Member

No description provided.

"bundled": 53619,
"minified": 23302,
"gzipped": 6536,
"bundled": 54135,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

q: why did esm bundle grow?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it has now all warnings wrapped with condition

if ("production" !== process.env.NODE_ENV) {
  warning(condition, argument, argument);
}

@TrySound TrySound merged commit c153e3a into master Jan 13, 2019
@TrySound TrySound deleted the dev-expression branch January 13, 2019 10:08
bhupinderbola pushed a commit to bhupinderbola/jss that referenced this pull request Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants