{"library":"koa-webpack","type":"library","category":null,"description":"Koa Webpack is a development and hot module reloading middleware for Koa2 applications. It wraps and composes `webpack-dev-middleware` and `webpack-hot-client` into a single, cohesive middleware module, simplifying the integration of Webpack into a Koa server. Version 6.0.0 is the current stable release, which dropped support for Node.js 8. The package generally follows a maintenance release cadence with occasional minor updates, and major versions are released when significant breaking changes occur in its underlying dependencies (like `webpack-hot-client`) or Node.js compatibility is updated. A key differentiator is its ability to automatically use the `webpack` module and `webpack.config.js` from the project root, reducing boilerplate compared to other Koa Webpack integration solutions.","language":"javascript","status":"active","version":"6.0.0","tags":["javascript","koa","middleware","webpack"],"last_verified":"Wed May 27","install":[{"cmd":"npm install koa-webpack","imports":["import koaWebpack from 'koa-webpack';","const koaWebpack = require('koa-webpack');\n// ... later, inside an async function or IIFE:\nconst middleware = await koaWebpack(options);"]},{"cmd":"yarn add koa-webpack","imports":[]},{"cmd":"pnpm add koa-webpack","imports":[]}],"homepage":null,"github":"https://github.com/shellscape/koa-webpack","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koa-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/koa-webpack/compatibility"}}