{"library":"modify-source-webpack-plugin","type":"library","category":null,"description":"Webpack plugin that allows modification of module source code during compilation via hook functions. Current version 4.1.0 works with Webpack 4 and 5. It uses webpack loader mechanism internally to transform sources, supporting watch mode re-compilation. Key differentiators: cleaner API compared to using raw loaders for conditional modifications; provides access to module path and source; handles loader option serialization issues internally. Release cadence is ad-hoc with breaking changes between major versions (rejection of global variable in v4). Ships TypeScript definitions.","language":"javascript","status":"active","version":"4.1.0","tags":["javascript","webpack","plugin","hooks","module","file","source","modify","edit","typescript"],"install":[{"cmd":"npm install modify-source-webpack-plugin","imports":["import ModifySourcePlugin from 'modify-source-webpack-plugin'","const ModifySourcePlugin = require('modify-source-webpack-plugin')","import type { PluginOptions } from 'modify-source-webpack-plugin'"]},{"cmd":"yarn add modify-source-webpack-plugin","imports":[]},{"cmd":"pnpm add modify-source-webpack-plugin","imports":[]}],"homepage":null,"github":"https://github.com/artembatura/modify-source-webpack-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/modify-source-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/modify-source-webpack-plugin/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}