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
This probably happens because optional chaining is transpiled into (_opts = opts) === null || _opts === void 0 ? void 0 : _opts.name by the transformer and then minified back into (_opts = opts)?.name.
We check the ES version here, but maybe we need to check whether the specific feature is supported.
For this input
the transformer + minifier outputs
when target is
chrome88
(playground).This probably happens because optional chaining is transpiled into
(_opts = opts) === null || _opts === void 0 ? void 0 : _opts.name
by the transformer and then minified back into(_opts = opts)?.name
.We check the ES version here, but maybe we need to check whether the specific feature is supported.
oxc/crates/oxc_minifier/src/peephole/minimize_conditional_expression.rs
Line 319 in 0c55dd6
The text was updated successfully, but these errors were encountered: