Skip to content

Commit 6fc0608

Browse files
author
Luke Kang
committed
Fix default value of FAST_REFRESH
1 parent 2d1829e commit 6fc0608

File tree

1 file changed

+1
-1
lines changed
  • packages/react-scripts/config

1 file changed

+1
-1
lines changed

packages/react-scripts/config/env.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ function getClientEnvironment(publicUrl) {
9797
// react-refresh is not 100% stable at this time,
9898
// which is why it's disabled by default.
9999
// It is defined here so it is available in the webpackHotDevClient.
100-
FAST_REFRESH: process.env.FAST_REFRESH !== 'false',
100+
FAST_REFRESH: process.env.FAST_REFRESH === 'true',
101101
}
102102
);
103103
// Stringify all values so we can feed into webpack DefinePlugin

0 commit comments

Comments
 (0)