mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Revert "Emit ES6 code for module source in emit file load" (#2501)
* Revert "Update emotion example to use css instead of fragment (#2497)" This reverts commit5bd3a5f1d1
. * Revert "Fix "Deploy to now" link (#2489)" This reverts commitdf1cd7ebf3
. * Revert "Emit ES6 code for module source in emit file load (#2478)" This reverts commit3f50abcb51
.
This commit is contained in:
parent
5bd3a5f1d1
commit
4563f68ad5
|
@ -12,7 +12,7 @@ module.exports = function (content, sourceMap) {
|
|||
|
||||
const emit = (code, map) => {
|
||||
this.emitFile(interpolatedName, code, map)
|
||||
this.callback(null, content, sourceMap)
|
||||
this.callback(null, code, map)
|
||||
}
|
||||
|
||||
if (query.transform) {
|
||||
|
|
Loading…
Reference in a new issue