is-webpack-bundle
JSON →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.
Traffic · last 30 days ↑600% vs prev 7d
total hits 15
actors 6 distinct systems
last hit 2d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇺🇦 Ukraine · 🇩🇪 Germany · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/is-webpack-bundle
compatibility /v1/registry/is-webpack-bundle/compatibility