Closed leebenson closed 8 years ago
re-opening -- seems to be a regression from 0.5.2+ (works fine in 0.5.1)
Oh, it should be introduced by babel 6. You can use babel-polyfill
for a quick fix.
And we should fix it via babel-runtime
$ npm install --save-dev babel-plugin-transform-runtime
$ npm install --save babel-runtime
{
"plugins": [
["transform-runtime", {
"polyfill": false,
"regenerator": true
}]
]
}
@leebenson Released as v0.5.4: https://github.com/chentsulin/koa-graphql/releases/tag/v0.5.4
with 5.3, I now get this: