mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Support webpack harmony modules in self accept (#2510)
This commit is contained in:
parent
d7d4b7c332
commit
bd24e74a98
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue