Skip to content

Commit 3230857

Browse files
LavaToastershellscape
authored andcommitted
chore: README.md fixes and corrections (#95)
1 parent 20f521e commit 3230857

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ Next, setup the module in your code. (We're assuming ES6 syntax here)
4545

4646
```js
4747
const Koa = require('koa');
48-
const middleware = require('koa-webpack');
4948

5049
const app = new Koa();
5150

@@ -124,7 +123,7 @@ koaWebpack({ config })
124123
Type: `Object`
125124
`optional`
126125

127-
The `dev` property should contain options for `webpack-dev-middleware`, a list of
126+
The `devMiddleware` property should contain options for `webpack-dev-middleware`, a list of
128127
which is available at [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware).
129128
Omitting this property will result in `webpack-dev-middleware` using its default
130129
options.
@@ -134,7 +133,7 @@ options.
134133
Type: `Object|Boolean`
135134
`optional`
136135

137-
The `hot` property should contain options for `webpack-hot-client`, a list of
136+
The `hotClient` property should contain options for `webpack-hot-client`, a list of
138137
which is available at [webpack-hot-client](https://github.com/webpack-contrib/webpack-hot-client).
139138
Omitting this property will result in `webpack-hot-client` using its default
140139
options.

0 commit comments

Comments
 (0)