{"library":"before-build-webpack","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"0.2.15","tags":["javascript","webpack","conditional","before build","pre build"],"last_verified":"Wed May 27","install":[{"cmd":"npm install before-build-webpack","imports":["import WebpackBeforeBuildPlugin from 'before-build-webpack';","const WebpackBeforeBuildPlugin = require('before-build-webpack');"]},{"cmd":"yarn add before-build-webpack","imports":[]},{"cmd":"pnpm add before-build-webpack","imports":[]}],"homepage":null,"github":"https://github.com/artemdudkin/before-build-webpack","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/before-build-webpack","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/before-build-webpack/compatibility"}}