Commit bd24e74a authored by Kevin Decker's avatar Kevin Decker Committed by Arunoda Susiripala

Support webpack harmony modules in self accept (#2510)

parent d7d4b7c3
...@@ -27,7 +27,7 @@ module.exports = function (content, sourceMap) { ...@@ -27,7 +27,7 @@ module.exports = function (content, sourceMap) {
next.router.update(r, Component) 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) `, sourceMap)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment