diff --git a/server/build/loaders/hot-self-accept-loader.js b/server/build/loaders/hot-self-accept-loader.js index b33a3175..1c6968d2 100644 --- a/server/build/loaders/hot-self-accept-loader.js +++ b/server/build/loaders/hot-self-accept-loader.js @@ -27,7 +27,7 @@ module.exports = function (content, sourceMap) { next.router.update(r, Component) } } - })(module.exports.default || module.exports, ${JSON.stringify(route)}) + })(typeof __webpack_exports__ !== 'undefined' ? __webpack_exports__.default : (module.exports.default || module.exports), ${JSON.stringify(route)}) `, sourceMap) }