Webpack Before Build Plugin
JSON →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.
Traffic · last 30 days ↑0% vs prev 7d
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇸🇬 Singapore · 🇫🇷 France