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 }}
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.
When using swc I set module type to nodenext, however when I use the exact same setup with swc-loader, it seems that suddenly I can't select that option any more. It breaks with the unknown variant error above and says that I can only use commonjs, umd, amd, systemjs, es6, when swc allows you to use nodenext.
SWC recently added support for nodenext and things like es2022. I believe this issue might be simply because swc-loader is using an old "@swc/core": "^1.2.147" dependency.
The text was updated successfully, but these errors were encountered:
When using swc I set module type to
nodenext
, however when I use the exact same setup with swc-loader, it seems that suddenly I can't select that option any more. It breaks with the unknown variant error above and says that I can only usecommonjs
,umd
,amd
,systemjs
,es6
, when swc allows you to usenodenext
.SWC recently added support for nodenext and things like es2022. I believe this issue might be simply because swc-loader is using an old
"@swc/core": "^1.2.147"
dependency.The text was updated successfully, but these errors were encountered: