We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b431885 commit e562375Copy full SHA for e562375
src/webpack/index.js
@@ -36,7 +36,8 @@ function transform(source, map) {
36
if (options.withPatch) {
37
source = patch(source);
38
}
39
- if (source.indexOf('reactHotLoader.register') > 0) {
+
40
+ if (source.indexOf('reactHotLoader.register') > 0 || options.noRegister) {
41
return callback(null, source, map);
42
43
// This is a Webpack loader, but the user put it in the Babel config.
0 commit comments