Preparing for system design interviews?  Try bugzed.com →

is-webpack-bundle

JSON →
library 1.0.0 ·javascript maintenance
verified Jun 17, 2026

A micro-package (v1.0.0, no active releases since 2019) that detects at runtime whether the current module was bundled by webpack. It works by checking for the presence of a `__webpack_require__` function in the global scope. This is a simple, single-purpose utility with no dependencies. For similar detection in other bundlers (e.g., Rollup, Parcel), alternative approaches are needed. The package is published as a CommonJS module only, with no TypeScript type definitions.

total hits 5
actors 2 distinct systems
last hit 20d ago AhrefsBot
Script
1

top countries 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France