John Reilly
Read post

ts-loader goes webpack 4... again!

ts-loader v9.6.0 now supports both webpack 4 and webpack 5, reversing the decision made in 2021 to drop webpack 4 support. The motivation is that webpack 4 still sees around 4 million downloads per week and ts-loader@8 nearly 1 million, making a separate maintenance branch increasingly burdensome. The changes required were relatively minor — handling API differences between webpack 4 and 5, adding loader-utils as an optional peer dependency, and extending the test suite to cover both versions. GitHub Copilot assisted in implementing the changes. The goal is to consolidate maintenance into a single branch, simplifying future TypeScript compatibility patches.

    #typescript#webpack
May 31•5m read time•From johnnyreilly.com
Post cover image
Table of contents
Why support webpack 4 again? ​Let the experiment begin! ​ts-loader@9.6.0 supports webpack 4 ​
21.9K Impressions
John Reilly's image
John Reilly

Johnny Reilly is a software engineer, blogger, and technology enthusiast known for his insights into...

23 Followers

•

278 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard