We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d3a30e commit f67d5b9Copy full SHA for f67d5b9
patch.js
@@ -1,6 +1,6 @@
1
'use strict'
2
3
-if (process.env.NODE_ENV === 'production') {
+if (!module.hot || process.env.NODE_ENV === 'production') {
4
module.exports = require('./dist/react-hot-loader.production.min.js');
5
} else {
6
module.exports = require('./dist/react-hot-loader.development.js');
0 commit comments