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

Add experimental react-refresh support #8582

Merged
merged 11 commits into from
Apr 6, 2020
Prev Previous commit
Next Next commit
Add boolean filter to babel plugins
  • Loading branch information
charrondev committed Mar 31, 2020
commit 78065e6e34dfd9cb4951bf2b01be653ccba5672f
2 changes: 1 addition & 1 deletion packages/react-scripts/config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ module.exports = function(webpackEnv) {
},
},
isEnvDevelopment && require.resolve('react-refresh/babel'),
],
].filter(Boolean),
],
// This is a feature of `babel-loader` for webpack (not Babel itself).
// It enables caching results in ./node_modules/.cache/babel-loader/
Expand Down