Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

koa deprecated Support for generators will be removed in v3 #11

Open
StefanoSega opened this issue Apr 25, 2018 · 1 comment
Open

koa deprecated Support for generators will be removed in v3 #11

StefanoSega opened this issue Apr 25, 2018 · 1 comment

Comments

@StefanoSega
Copy link

this code:

const webpackHotMiddleware = require('koa-webpack-hot-middleware');

const compiler = webpack(config[0]);
koaApp.use(webpackHotMiddleware(compiler));

generates this warning with the latest Koa:

koa deprecated Support for generators will be removed in v3. See the documentation for examples of how to convert old middleware https://github.com/koajs/koa/blob/master/docs/migration.md

@DoNaEMan
Copy link

you may need koa-convert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants