TypeStrong / TypeStrong/ts-loader
rspack compatibility
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 439
- Avg merge
- 17h 17m
- Merged PRs (30d)
- 2
Description
Hello,
I'm using this loader with both Webpack and Rspack, and it is working nicely.
However, when using it with Rspack, it requires installing Webpack, which I would like to avoid.
Would you be open to a PR that allows the use of Rspack or Webpack independently?
My idea is that when using a hook, when we get an instance of compiler, there is a compiler.webpack property (also in Rspack) with a full webpack export inside, which can avoid importing the webpack package itself.
Contributor guide
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 by tracing the loader's compiler hooks and webpack dependency usage; the issue does not name specific files or tests. The work is done when Rspack and Webpack can be used independently without requiring the webpack package, while existing Webpack use remains compatible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100