Closed t1m0thyj closed 4 months ago
Thank you for raising this enhancement request. The community has 90 days to vote on it. If the enhancement receives at least 10 upvotes, it is added to our development backlog. If it receives fewer votes, the issue is closed.
Problem In Zowe CLI 7.27.0, proxy support was added using the
http-proxy-agent
package. This package compiles to an ES2020 target and its source code contains optional chaining which is only supported in ES2020 and up. Since Webpack 4 which we still use for ZE V2 does not support ES2020 syntax, ZE builds fail after updating Zowe CLI to the latest version.Solution Investigate a way to fix the Webpack build so that Zowe CLI can be updated. We may need to configure a Babel loader that converts ES2020 code to be compatible with an older target like ES6.