{"library":"rollup-plugin-module-replacement","type":"library","category":null,"description":"A Rollup plugin (v1.2.1) that replaces module paths during bundling, similar to Webpack's NormalModuleReplacementPlugin. Supports string or regex pattern matching with replacement strings or functions for dynamic rewrites. Ideal for environment-specific builds (e.g., swapping mock vs production modules). Unlike rollup-plugin-alias, it does not resolve modules internally, allowing custom resolvers (e.g., rollup-plugin-node-resolve) to be passed in. Released under MIT, with irregular updates (last in 2020).","language":"javascript","status":"maintenance","version":"1.2.1","tags":["javascript","rollup","rollup-plugin","resolve","module-replacement"],"install":[{"cmd":"npm install rollup-plugin-module-replacement","imports":["import replacement from 'rollup-plugin-module-replacement'","import replacement from 'rollup-plugin-module-replacement'","import replacer from 'rollup-plugin-module-replacement'"]},{"cmd":"yarn add rollup-plugin-module-replacement","imports":[]},{"cmd":"pnpm add rollup-plugin-module-replacement","imports":[]}],"homepage":null,"github":"https://github.com/Acionyx/rollup-plugin-module-replacement","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/rollup-plugin-module-replacement","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/rollup-plugin-module-replacement/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Thu Jun 18","next_check":"Sun Jul 26","install_tag":null}}