Open StefanoSega opened 6 years ago
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
you may need koa-convert
this code:
generates this warning with the latest Koa: