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
{{ message }}
Repository navigation
Specifying multiple targets for the same engine is order-dependent rather than taking the lowest version #4509
When multiple targets for the same environment/engine are specified (e.g. via --target=chrome47,chrome147 or when passing a list from tooling like browserslist), esbuild overwrites the target version with the last one specified in the list instead of taking the lowest version (minimum common denominator).
Reproduction
Case 1:--target=chrome47,chrome147
a??b
Output:
a??b
(Nullish coalescing is NOT downleveled, even though Chrome 47 does not support ??, because chrome147 overwrote chrome47)
Target resolution should be order-independent when multiple targets for the same environment/engine are provided. esbuild should pick the minimum version for each target environment so that the generated output is compatible with all specified targets.
Activity
fix(@angular/build): return only lowest version per target engine
fix(@angular/build): return only lowest version per target engine
fix(@angular/build): return only lowest version per target engine
fix(@angular/build): return only lowest version per target engine
fix(@angular/build): return only lowest version per target engine
fix evanw#4509: pick minimum version for target env
Update dependency esbuild to v0.28.2 (#2)