You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the typescript file, optional chain syntax is used.
After being compiled by ts-loader, and then processed by babel-loader, the optional chain syntax still exists in the packaged js file.
it contains no optional chaining, but the output code still uses ?.. I suggest asking in https://github.com/webpack/webpack/discussions how to disable this specific minifier optimization.
In the typescript file, optional chain syntax is used.
After being compiled by ts-loader, and then processed by babel-loader, the optional chain syntax still exists in the packaged js file.
You can view it via the link below:
https://codesandbox.io/p/sandbox/empty-cache-79clq2?file=%2Fwebpack.config.js%3A21%2C6-21%2C47
The text was updated successfully, but these errors were encountered: