pino-webpack-plugin

JSON →
library 2.0.0 ·javascript
verified May 27, 2026

A Webpack plugin that enables bundling pino v7+ logger with webpack-generated bundles. Version 2.0.0 supports webpack 5 and requires Node >=12.13.0. It works by extracting pino's worker threads (thread-stream, pino-worker, pino-pipeline-worker, pino-file) into separate bundle files, which must be deployed alongside the main bundle. The plugin allows specifying extra transports like pino-pretty. Key differentiator: it's the official way to use pino in webpack projects, addressing the incompatibility between pino's Node.js Worker Threads architecture and webpack's bundling. Ships TypeScript types.

total hits 27
actors 8 distinct systems
last hit 1d ago AhrefsBot
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1
Humans
6

top countries 🇺🇸 United States · 🇫🇮 Finland · 🇨🇦 Canada · VN · 🇷🇺 Russia