{"library":"add-asset-webpack-plugin","type":"library","category":null,"description":"Dynamically add an asset (file) to the Webpack output graph. This is a lightweight, zero-dependency Webpack plugin (v3.1.1) that lets you inject a file with a given source string, either statically or via a callback receiving the compilation object. It ships TypeScript types. Key differentiator: it only creates output assets, not virtual modules — use webpack-virtual-modules if you need importable modules. Supports Webpack >=5, Node >=18, ESM only. Maintained by Sindre Sorhus.","language":"javascript","status":"active","version":"3.1.1","tags":["javascript","webpack-plugin","webpack","add","generate","create","make","asset","file","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install add-asset-webpack-plugin","imports":["import AddAssetPlugin from 'add-asset-webpack-plugin'","import type AddAssetPlugin from 'add-asset-webpack-plugin'","const AddAssetPlugin = (await import('add-asset-webpack-plugin')).default"]},{"cmd":"yarn add add-asset-webpack-plugin","imports":[]},{"cmd":"pnpm add add-asset-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/sindresorhus/add-asset-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/add-asset-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/add-asset-webpack-plugin/compatibility"}}