I have a need to generate an IIFE-formatted output with an es5 target, which worked in v7.2.0 and below.
However since v7.3.0 there's been an additional condition on swc's transformation that the format must be cjs.
Is it possible to add an override to allow es5 targetting for non-cjs formats again?
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
I have a need to generate an IIFE-formatted output with an es5 target, which worked in v7.2.0 and below. However since v7.3.0 there's been an additional condition on swc's transformation that the format must be cjs. Is it possible to add an override to allow es5 targetting for non-cjs formats again?
Upvote & Fund