diff --git a/lib/Server.js b/lib/Server.js index 908c8ca7f3..d704c4b5d0 100644 --- a/lib/Server.js +++ b/lib/Server.js @@ -832,6 +832,9 @@ class Server { if (proxyConfig.target) { return createProxyMiddleware(context, proxyConfig); } + this.logger.warn( + `The "target" value specified in the "proxy" property ${context} is not defined and will be skipped.` + ); }; /** * Assume a proxy configuration specified as: