webpack-hot-middleware
Advanced tools
Comparing version 2.12.1 to 2.12.2
@@ -18,3 +18,4 @@ /*eslint-env browser*/ | ||
bottom: 0, | ||
overflow: 'auto' | ||
overflow: 'auto', | ||
dir: 'ltr' | ||
}; | ||
@@ -21,0 +22,0 @@ for (var key in styles) { |
{ | ||
"name": "webpack-hot-middleware", | ||
"version": "2.12.1", | ||
"version": "2.12.2", | ||
"description": "Webpack hot reloading you can attach to your own server", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -106,12 +106,4 @@ # Webpack Hot Middleware | ||
```js | ||
var app = koa(); | ||
Use [koa-webpack-middleware](https://www.npmjs.com/package/koa-webpack-middleware), which wraps this module and makes it work with koa. | ||
var hotMiddleware = require("webpack-hot-middleware")(compiler); | ||
app.use(function* (next) { | ||
yield hotMiddleware.bind(null, this.request, this.response); | ||
yield next; | ||
}); | ||
``` | ||
## Troubleshooting | ||
@@ -118,0 +110,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
878
39498
138