Skip to content

Commit

Permalink
fix: use the same conditions for index and patch
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Aug 23, 2018
1 parent 6d3a30e commit f67d5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patch.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

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

0 comments on commit f67d5b9

Please sign in to comment.