swc-project/swc-loader
This package allows transpiling JavaScript files using swc and webpack. npm i --save-dev @swc/core swc-loader webpack You can pass options to the loader by using the option property. If you get an error while using swc-loader, you can pass sync: true to get correct error message.
https://github.com/swc-project/swc-loader