swc-project / swc-project/swc-node
controlling swc's lazy module flag
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 95
- Avg merge
- 14d 11h
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the swc-node/register entry point and trace how SWC module configuration is loaded. Check the linked SWC modules.lazy documentation to determine the expected option shape; done means users can control that flag when using swc-node/register, with the behavior covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100