Skip to content

[Fresh] Add skipEnvCheck option to Babel plugin#16688

Merged
gaearon merged 1 commit into
react:masterfrom
gaearon:fresh-skip
Sep 6, 2019
Merged

[Fresh] Add skipEnvCheck option to Babel plugin#16688
gaearon merged 1 commit into
react:masterfrom
gaearon:fresh-skip

Conversation

@gaearon

@gaearon gaearon commented Sep 6, 2019

Copy link
Copy Markdown
Collaborator

This is a first-class way to override the env check in Fresh Babel transform. The check is usually helpful but maybe you want more control. For example, in www we do want to run the transform in tests to ensure it doesn't regress. Same in the React repo.

@sizebot

sizebot commented Sep 6, 2019

Copy link
Copy Markdown

No significant bundle size changes to report.

Generated by 🚫 dangerJS against c2066e9

@gaearon gaearon merged commit b260bef into react:master Sep 6, 2019
@gaearon gaearon deleted the fresh-skip branch September 6, 2019 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants