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
Node.js 22 removed import asserts and now only has import attributes. Setting emitAssertForImportAttributes to false in dist/transpilers/swc.js fixes the issue, but ofc, this would break the existing users, so not sure how to approach this!? A config option..? A breaking change?
The text was updated successfully, but these errors were encountered:
Expected Behavior
Running this with ts-node should work when
swc: true
is set:Actual Behavior
Specifications
Note
Node.js 22 removed import asserts and now only has import attributes. Setting
emitAssertForImportAttributes
to false indist/transpilers/swc.js
fixes the issue, but ofc, this would break the existing users, so not sure how to approach this!? A config option..? A breaking change?The text was updated successfully, but these errors were encountered: