{"library":"generate-package-json-webpack-plugin","type":"library","category":null,"description":"A Webpack plugin that generates a minimal package.json containing only the external dependencies actually used by your bundle. Version 2.7.0 is current, with regular updates. It works with Webpack 4 and 5, and is typically paired with webpack-node-externals. Key differentiators: automatic version resolution from node_modules, support for excluding dependencies, forcing a Webpack version in mixed environments (e.g., Nx), and flexibility to add non-code dependencies with explicit version prefixes. Ships TypeScript types.","language":"javascript","status":"active","version":"2.7.0","tags":["javascript","webpack","plugin","package.json","node","modules","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install generate-package-json-webpack-plugin","imports":["import GeneratePackageJsonPlugin from 'generate-package-json-webpack-plugin'","import GeneratePackageJsonPlugin from 'generate-package-json-webpack-plugin'","const GeneratePackageJsonPlugin = require('generate-package-json-webpack-plugin')"]},{"cmd":"yarn add generate-package-json-webpack-plugin","imports":[]},{"cmd":"pnpm add generate-package-json-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/lostpebble/generate-package-json-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/generate-package-json-webpack-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/generate-package-json-webpack-plugin/compatibility"}}