TypeStrong / TypeStrong/ts-loader

Assets are emitted even when there are TypeScript errors

Open
#1,675 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.5k
Forks
439
Avg merge
17h 17m
Merged PRs (30d)
2

Description

Assets are emitted even when there are TypeScript errors.

I see TS2304 errors and [emitted] next to the file which contains these errors. Weird.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names TS2304 and an emitted asset but provides no file, configuration, test, or reproduction steps. Start by reproducing that combination in the loader's webpack build path; done means assets are no longer emitted when TypeScript errors occur.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.