Webpack Before Build Plugin

JSON →
library 0.2.15 ·javascript maintenance
verified May 27, 2026

The `before-build-webpack` plugin provides a mechanism to execute custom logic before, after, or during specific compilation lifecycle events within Webpack. It supports Webpack versions 1 through 5, offering flexibility for projects with varying Webpack installations. The current stable version is `0.2.15`, and the package appears to be in a maintenance mode with infrequent updates, though it remains compatible with recent Webpack versions. Its key differentiator is the ability to halt compilation conditionally by not invoking the provided callback, making it suitable for pre-build checks, environment validation, or complex conditional builds. This plugin acts as a wrapper around Webpack's compiler hooks, abstracting away some version-specific differences in hook names.

total hits 21
actors 8 distinct systems
last hit 3d ago AhrefsBot
MetaBot
4
ByteDance
3
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇸🇬 Singapore · 🇫🇷 France