Unverified Commit 23941cdc authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

[Fast Refresh] Skip Environment Check (#12359)

parent 0ffeca26
......@@ -141,7 +141,7 @@ module.exports = babelLoader.custom(babel => {
if (hasReactRefresh) {
const reactRefreshPlugin = babel.createConfigItem(
[require('react-refresh/babel')],
[require('react-refresh/babel'), { skipEnvCheck: true }],
{ type: 'plugin' }
)
options.plugins.unshift(reactRefreshPlugin)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment