ts-loader: TypeScript loader for webpack
JSON →ts-loader is a webpack loader designed to compile TypeScript code into JavaScript within the webpack build pipeline. It leverages the official TypeScript compiler (`tsc`) to perform compilation, supporting full type checking and the generation of declaration files (`.d.ts`). The current stable version is 9.5.7, with frequent patch and minor releases to maintain compatibility with new TypeScript and webpack versions. Unlike `@babel/preset-typescript` with `babel-loader`, `ts-loader` performs comprehensive type checking, which can be computationally intensive for large projects. To mitigate this, it is commonly used in conjunction with `fork-ts-checker-webpack-plugin`, allowing type checking to run in a separate process for faster incremental builds while `ts-loader` handles transpilation.
Traffic · last 30 days ↓71% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · IE