Development and Hot Reload Middleware for Koa2
MPL-2.0 License
Bot releases are visible (Hide)
This version is more or less just a maintenance update. Since some of the user-facing console output has changed, and some dependencies were updated to new major versions, it was bumped as a minor version. This will be the last release in the 5.x version line. A new major version will be released that removes the need for both webpack-dev-middleware
and webpack-hot-client
.
ajv
in favor of joi
@webpack-contrib/shema-utils
ws
[email protected]
This version updates webpack-hot-client
to the latest version.
[email protected]
contains many breaking changes. The breaking changes here follow those changes.
dev
option now named devMiddleware
hot
option now named hotClient
koa-webpack
export now returns a Promise
koaWebpack({ ... opts ... })
.then((middleware) => {
app.use(middleware);
});
As of version 2.0.0, Node v4 is no longer supported. The minimum version of Node
supported is v6.11. Browser support is limited to those browsers which support
native WebSocket
. That typically means the last two major versions of a
browser. If you need support for older browsers, please use version 1.x of this
module. If you would like to submit a fix for a 1.x version of the module, please
submit that to the 1.x
branch.
hot
property from the returned middleware function.client
as a property on the returned middleware function.