terser-loader

JSON →
library 2.0.3 ·javascript
verified May 27, 2026

terser-loader is a webpack loader that minifies JavaScript using Terser, a modern ES6+ capable minifier. Version 2.0.3 is the latest stable release, with peer dependency on webpack ^4 || ^5. It offers options like `terserOptions` passed directly to Terser API and `stripTrailingSemicolon`. Unlike the official `terser-webpack-plugin`, this is a loader (not a plugin) integrated in webpack's module rules pipeline, useful for selective minification alongside other loaders. Low release cadence but functional for specific use cases.

total hits 30
actors 8 distinct systems
last hit 1d ago AhrefsBot
GPTBot
5
ByteDance
5
Amazonbot
4
MetaBot
4
Script
1
Search engines
1
Humans
6

top countries 🇺🇸 United States · 🇸🇬 Singapore · VN · 🇨🇦 Canada · 🇪🇸 Spain