Skip to content

Commit 72e064b

Browse files
authored
fix: update docs (#16266)
1 parent 7599005 commit 72e064b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm/webpack-dev-server/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Webpack-dev-server fulfills his reponsibilities by
6262

6363
`startDevServer` takes an object of options.
6464

65-
- `options` (required): this contains various internal configuration. It's provided as the first argument to the `dev-server:start` event. Just make sure you pass it.
65+
- `options` (required): this contains various internal configuration. It's provided as the first argument to the `dev-server:start` event. Just make sure you pass it to the `startDevServer`.
6666
- `webpackConfig` (optional): the webpack config used by your application. We provide some [presets](https://github.com/cypress-io/cypress/tree/develop/npm/react/plugins), but you can pass the `webpackConfig` manually, too.
6767
- `template` (optional): by default [this index.html](https://github.com/cypress-io/cypress/blob/develop/npm/webpack-dev-server/index-template.html) is used. You can provide your own using this option. This is useful if you'd like to include some CDN links, or in some way customize the default html. If you are passing this option, ensure your `index.html` contains the same content as [the default template](https://github.com/cypress-io/cypress/blob/develop/npm/webpack-dev-server/index-template.html). Some of our presets include a custom `index.html`, such as [Next](https://github.com/cypress-io/cypress/tree/develop/npm/react/plugins/next).
6868

0 commit comments

Comments
 (0)