TypeStrong / TypeStrong/ts-loader
How to silent any error from ts-loader?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 439
- Avg merge
- 17h 17m
- Merged PRs (30d)
- 2
Description
Hi, how to ignore all errors from ts-loader. I am using ts-loader just as a ts transformer for https://typia.io/
I can't disable type check because type information is needed for typia.
I perform type check with ForkTsCheckerWebpackPlugin so type errors logs from the loader are not needed.
Also, nextjs just stops building on ts error at all, what is strange.
I tried silent: true and reportFiles: ['!**/*.{ts,tsx}'] and it didn't help.
Thanks.
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 reviewing ts-loader's handling of the silent and reportFiles options in the context described. Compare that behavior with the ForkTsCheckerWebpackPlugin and Next.js setup from the report. Done means determining and documenting or supporting a way to retain transformer type information without emitting loader type errors or stopping the build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100