{"library":"webpack-tool","type":"library","category":null,"description":"webpack-tool is a utility library designed to streamline webpack development and production builds, integrating a Koa-based development server with hot module replacement and a production build mechanism that can optionally display a build result UI. It ties its major version releases directly to webpack's major versions (e.g., `webpack-tool@5.x.x` for `webpack@5`). This approach provides a consistent experience for developers working with specific webpack versions. Key differentiators include its built-in Koa dev server, which offers `before` and `after` hooks for custom middleware integration, a proxy configuration, and a history API fallback. It aims to simplify the boilerplate often associated with setting up webpack for both development and production environments, providing a consolidated API for `server` (development) and `build` (production) commands, along with a debug UI for build results.","language":"javascript","status":"active","version":"5.0.5","tags":["javascript","webpack","webpack3","webpack4","webpack build","webpack hot reload"],"last_verified":"Wed May 27","install":[{"cmd":"npm install webpack-tool","imports":["const WebpackTool = require('webpack-tool');","const webpackTool = new WebpackTool({...});"]},{"cmd":"yarn add webpack-tool","imports":[]},{"cmd":"pnpm add webpack-tool","imports":[]}],"homepage":null,"github":"https://github.com/easy-team/webpack-tool","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-tool","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-tool/compatibility"}}