fix(cli-service): devServer proxy should be optional (#7044)

This commit is contained in:
ntnyq
2022-03-14 10:09:47 +08:00
committed by GitHub
parent 7111fcfd6f
commit 4c679ec525
+1 -1
View File
@@ -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`
*