ts-loader VS fork-ts-checker-webpack-plugin

Compare ts-loader vs fork-ts-checker-webpack-plugin and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
ts-loader fork-ts-checker-webpack-plugin
6 8
3,424 1,916
0.3% 0.9%
4.8 5.6
3 days ago 13 days ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ts-loader

Posts with mentions or reviews of ts-loader. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-14.
  • webpack adoption guide: Overview, examples, and alternatives
    1 project | dev.to | 8 Feb 2024
    It'll be a little different than your typical "what is webpack?" article in that I write this as the maintainer of ts-loader, a loader used for integrating TypeScript with webpack. I've worked in the webpack ecosystem for some years now, and I'll share some of my experiences with you.
  • The Complete Guide for Setting Up React App from Scratch (feat. TypeScript)
    16 projects | dev.to | 14 Dec 2022
    why I use @babel/preset-typescript over ts-loader and awesome-typescript-loader to complie TypeScript? it's blazingly faster than the others and has more perks(read #4) ts-loader doesn't natively support HMR(Hot Module Replacement) awesome-typescript-loader's latest release is on Jun 22, 2018 TypeScript With Babel: A Beautiful Marriage - Matt Turnbull's Post
  • Converting to Typescript
    3 projects | /r/reactjs | 1 Jun 2022
    Okay. The normal setup is that you use https://github.com/TypeStrong/ts-loader or https://github.com/TypeStrong/fork-ts-checker-webpack-plugin as part of your Webpack config. Those will run the TS compilation step as part of the Webpack processing sequence.
  • Using styled-components with SWC compiler?
    3 projects | /r/reactjs | 1 Aug 2021
    I've recently tried SWC for building my project instead of ts-loader and was blown away by its performance (I got 8x-10x speedup on a Windows machine).
  • Sharing TypeScript code between Node.js and Vue.js
    1 project | /r/vuejs | 7 Jul 2021
    { "compilerOptions": { "target": "esnext", "module": "esnext", "strict": true, "jsx": "preserve", "importHelpers": true, "moduleResolution": "node", "experimentalDecorators": true, "skipLibCheck": true, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "sourceMap": true, "baseUrl": "./", "outDir": "./dist", // https://github.com/TypeStrong/ts-loader/issues/1138 "importsNotUsedAsValues": "preserve", "types": [ "webpack-env" ], "paths": { "@/*": [ "src/*" ], "@shared/*": [ "../shared/*" ] }, "lib": [ "esnext", "dom", "dom.iterable", "scripthost" ] }, "include": [ "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx", "../shared/**/*" ], "exclude": [ "node_modules" ] }
  • esbuild-loader: Replace babel-loader/ts-loader and benefit from the speed of esbuild while sticking with Webpack
    2 projects | /r/javascript | 28 Jan 2021
    See https://github.com/TypeStrong/ts-loader#happypackmode. Switching to esbuild-loader cut my build time in half.

fork-ts-checker-webpack-plugin

Posts with mentions or reviews of fork-ts-checker-webpack-plugin. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-01.
  • Converting to Typescript
    3 projects | /r/reactjs | 1 Jun 2022
    Okay. The normal setup is that you use https://github.com/TypeStrong/ts-loader or https://github.com/TypeStrong/fork-ts-checker-webpack-plugin as part of your Webpack config. Those will run the TS compilation step as part of the Webpack processing sequence.
  • Announcing Parcel CSS: A new CSS parser, compiler, and minifier written in Rust!
    8 projects | /r/rust | 12 Jan 2022
    I work on a TypeScript project of similar size and complexity, and ours does not take even nearly that long to compile on save. Have you tried fork-ts-checker-webpack-plugin? We had compile times similar to yours until we started using it. Went from >60s to <1s builds in development. It's very simple to set up.
  • Do you guys compile with ts-loader or babel-loader?
    4 projects | /r/typescript | 24 Dec 2021
    Yeah, I mean less loaders = less time. Did you try fork ts checker and compileOnly? https://github.com/TypeStrong/fork-ts-checker-webpack-plugin
  • Hey when I want to run a vue frontend I need to increase my memory size, because js jumps out of memory.
    2 projects | /r/node | 3 Sep 2021
    That worker/memory limit is for the type checking only (rather than runtime memory), I believe this is done using https://github.com/TypeStrong/fork-ts-checker-webpack-plugin
  • Adding Typescript to your Existing Rails App
    7 projects | dev.to | 27 Jul 2021
    There are many ways to integrate TypeScript with an existing Webpack configuration. If you use the babel-loader package to transpile JavaScript files, you can add the @babel/preset-typescript preset to generate JavaScript files and the Fork TS Checker Webpack Plugin package to run the TypeScript type checker so that the build fails if there are type errors.
  • Blazing fast TypeScript with Webpack and ESBuild
    7 projects | dev.to | 28 Jun 2021
    esbuild-loader (secret sauce!) fork-ts-checker-webpack-plugin (helps us with typechecking) nodemon-webpack-plugin (We can also use webpack-dev-server)
  • Debugging with developer tools
    1 project | /r/Zettlr | 6 Jun 2021
    I cloned github repo into a new dir, ran install with --frozen-lockfile and test-gui with --clean and got the same error. Looks like it's coming from fork-ts-checker-webpack-plugin and then found this among its reported issues: (https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/562).
  • Why Is Esbuild Fast?
    18 projects | news.ycombinator.com | 16 Feb 2021
    You may want to check out this webpack plugin [1], though I'm not sure how much it could get you there.

    [1] https://github.com/TypeStrong/fork-ts-checker-webpack-plugin...

What are some alternatives?

When comparing ts-loader and fork-ts-checker-webpack-plugin you can also consider the following projects:

swc - Rust-based platform for the Web

esbuild-loader - Webpack loader for esbuild: Speed up your build ⚡️

babel-loader - 📦 Babel loader for webpack

babel-plugin-styled-components - Improve the debugging experience and add server-side rendering support to styled-components

webpack-dev-server - Serves a webpack app. Updates the browser on changes. Documentation https://webpack.js.org/configuration/dev-server/.

raw-loader - A loader for webpack that allows importing files as a String

esbuild

graphql-let - A webpack loader / babel-plugin / babel-plugin-macros / CLI / generated file manager of GraphQL code generator.

sucrase - Super-fast alternative to Babel for when you can target modern JS runtimes

responsive-loader - A webpack loader for responsive images

vite-ts-tailwind-starter - Opinionated Vite + Vue 3 + TypeScript + Tailwind CSS starter template w/ tests and CI.