# TypeStrong/ts-loader

TypeScript loader for webpack

Repository: https://github.com/TypeStrong/ts-loader
Canonical: https://ross.abutalabs.com/products/ts-loader
Homepage: https://johnnyreilly.com/migrating-ts-loader-to-typescript-7-1-with-ai
Language: TypeScript
License: MIT
License Family: permissive
Topics: typescript, webpack-loader, loader, webpack
Last push: 2026-08-20T19:11:31+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 77, longevity 100
- inputs: {"age_days": 4243, "days_push": 13, "days_rel": 72, "gap_med": 37.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3479, forks 439 (observed 2026-08-28T04:08:06.818476+00:00)

## What it is
ts-loader is the official TypeScript loader for webpack, compiling .ts and .tsx files during webpack builds. It integrates the TypeScript compiler with webpack's module pipeline, supporting sourcemaps, transpileOnly mode, custom transformers, and project references.

## Use cases
- compile typescript files with webpack
- bundle a typescript web app using webpack
- use tsconfig. settings in webpack builds
- speed up webpack builds with transpileOnly mode
- generate sourcemaps for typescript in webpack
- use custom typescript transformers in webpack

## When to choose
- you build a TypeScript project with webpack and need full tsc integration
- you need type checking or declaration handling during webpack builds
- you rely on webpack 4/5 with TypeScript and features like project references or custom transformers

## When to avoid
- you use Vite, esbuild, or another modern bundler instead of webpack
- you only need fast transpilation without webpack (use tsc or esbuild directly)
- you need TypeScript 7 (Go-based) support before the port is fully complete

## Facets
- artifact type: plugin
- maturity: active
- function: build-tool, compiler
- domain: web-development, frontend, developer-tools, compilers
- platform: cross-platform
- tags: webpack-loader, typescript, bundler-plugin, transpilation, sourcemaps, nodejs

## Member repositories
- TypeStrong/ts-loader (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:06.818476+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:36:28.133495+00:00, confidence not recorded.
  - readme: https://github.com/TypeStrong/ts-loader (fetched 2026-08-28T04:08:06.818476+00:00, sha 13b11903b6fa)
  - homepage: https://johnnyreilly.com/migrating-ts-loader-to-typescript-7-1-with-ai (fetched 2026-08-29T09:30:36.976539+00:00, sha 662fe74b6f9d)
  - site_page: https://johnnyreilly.com/about (fetched 2026-08-29T09:30:36.979301+00:00, sha 01262af8e570)
- Data as of 2026-08-30T08:39:29.467469+00:00.
