swc-project / swc-project/swc-node
Supporting webpack <= 4 for @swc-node/swc-loader
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 95
- Avg merge
- 14d 11h
- Merged PRs (30d)
- 1
Description
the swc-loader is using this.getOptions() function, which is introduced in webpack 5. Need to use loader-utils to getOptions when webpack is <= 4
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
Inspect the @swc-node/swc-loader entry point where this.getOptions() is used, then review how loader-utils can provide the equivalent behavior for webpack <= 4. Confirm that option loading works with webpack 4 without breaking the existing webpack 5 path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100