Skip to content

Commit

Permalink
fix(cli-service): devServer proxy should be optional (#7044)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnyq committed Mar 14, 2022
1 parent 7111fcf commit 4c679ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/types/ProjectOptions.d.ts
Expand Up @@ -112,7 +112,7 @@ interface ProjectOptions {
/**
* [All options for `webpack-dev-server`](https://webpack.js.org/configuration/dev-server/) are supported
*/
devServer?: { proxy: string | object, [key: string]: any };
devServer?: { proxy?: string | object, [key: string]: any };
/**
* Default: `undefined`
*
Expand Down

0 comments on commit 4c679ec

Please sign in to comment.