Skip to content

Commit f67d5b9

Browse files
committed
fix: use the same conditions for index and patch
1 parent 6d3a30e commit f67d5b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
if (process.env.NODE_ENV === 'production') {
3+
if (!module.hot || process.env.NODE_ENV === 'production') {
44
module.exports = require('./dist/react-hot-loader.production.min.js');
55
} else {
66
module.exports = require('./dist/react-hot-loader.development.js');

0 commit comments

Comments
 (0)