File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ Next, setup the module in your code. (We're assuming ES6 syntax here)
4545
4646``` js
4747const Koa = require (' koa' );
48- const middleware = require (' koa-webpack' );
4948
5049const app = new Koa ();
5150
@@ -124,7 +123,7 @@ koaWebpack({ config })
124123Type: ` 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
128127which is available at [ webpack-dev-middleware] ( https://github.com/webpack/webpack-dev-middleware ) .
129128Omitting this property will result in ` webpack-dev-middleware ` using its default
130129options.
@@ -134,7 +133,7 @@ options.
134133Type: ` 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
138137which is available at [ webpack-hot-client] ( https://github.com/webpack-contrib/webpack-hot-client ) .
139138Omitting this property will result in ` webpack-hot-client ` using its default
140139options.
You can’t perform that action at this time.
0 commit comments