swc-project / swc-node

Faster ts-node without typecheck
MIT License
1.68k stars 67 forks source link

controlling swc's lazy module flag #756

Open stephencranedesign opened 4 months ago

stephencranedesign commented 4 months ago

Is there anyway to control swc's module.lazy flag with swc-node/register? I'm using that in my test suite and it saves time if I'm able to control it but haven't found a way to do that with this library yet.

https://swc.rs/docs/configuration/modules#lazy