typestrong/ts-loader

TypeScript loader for webpack

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 5 minutes ago
Type:Plugin / ExtensionCategory(s):Build Systems & Package ManagersDeveloper Tools
Added to GitGenius on September 20th, 2026
Created on January 21st, 2015
Open Issues & Pull Requests: 71 (+0)
GitHub issues: Enabled
Number of forks: 439
Total Stargazers: 3,480 (+0)
Total Subscribers: 36 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 13
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,070 days
Stale 30+ days: 12
Stale 90+ days: 12

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • pinned (1)
  • wontfix (1)

Most active issues this week

Detailed Description

ts-loader is a TypeScript loader for webpack that enables webpack to process TypeScript source files during bundling.

The tool solves the problem of integrating TypeScript compilation into webpack's build pipeline. It works by intercepting TypeScript files during the webpack build process and transpiling them to JavaScript. The loader respects TypeScript compiler options and configuration files, allowing developers to use TypeScript within their webpack workflows without separate build steps.

Teams should choose ts-loader when they want straightforward TypeScript integration with webpack. It suits projects that need standard TypeScript compilation with webpack's bundling capabilities. For projects prioritizing build speed over type checking during development, the README recommends using fork-ts-checker-webpack-plugin alongside ts-loader, which performs type checking in a separate process while ts-loader handles only transpilation. The tool supports various configurations including source maps, declaration file generation, module resolution with baseUrl and paths, hot module replacement, and project references. The transpileOnly option allows disabling the semantic checker for faster builds, though this prevents type checking and declaration file output.

The project maintains active engagement with its issue tracker and provides multiple example configurations for different workflows. Development activity shows responsiveness to user needs through documented options for customizing compilation behavior, including custom transformers, error formatting, and file caching strategies. The codebase demonstrates ongoing refinement of webpack integration patterns and TypeScript compatibility across versions.