{"library":"webpack-hook-plugin","type":"library","category":null,"description":"A webpack plugin that runs shell commands at various stages of the webpack build lifecycle: on build start, on build end, on build exit, and on every compile. Version 1.0.7 is the current stable release, with no active development observed since 2023. It supports both webpack and webpack-dev-server, and allows multiple commands per hook. Unlike similar plugins (e.g., webpack-shell-plugin), this one provides a built-in 'dev' switch to avoid repeated execution in watch mode and a 'safe' mode using exec instead of spawn for compatibility.","language":"javascript","status":"active","version":"1.0.7","tags":["javascript","webpack","shell","plugin","serve","hmr","browser","script","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webpack-hook-plugin","imports":["import WebpackHookPlugin from 'webpack-hook-plugin'","const WebpackHookPlugin = require('webpack-hook-plugin')","import type WebpackHookPlugin from 'webpack-hook-plugin'"]},{"cmd":"yarn add webpack-hook-plugin","imports":[]},{"cmd":"pnpm add webpack-hook-plugin","imports":[]}],"homepage":null,"github":"https://github.com/tienne/webpack-hook-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-hook-plugin","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/webpack-hook-plugin/compatibility"}}