Skip to content

Commit

Permalink
Support webpack harmony modules in self accept (vercel#2510)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdecker authored and arunoda committed Jul 10, 2017
1 parent d7d4b7c commit bd24e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/build/loaders/hot-self-accept-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit bd24e74

Please sign in to comment.