babel-plugin-transform-replace-object-assign is a Babel plugin that transforms instances of Object.assign with equivalent, inline-based code. This significantly reduces your bundle size, particularly in environments where Object.assign isn't natively supported and requires a large polyfill. By replacing Object.assign calls, the plugin prevents the inclusion of the polyfill, leading to performance improvements and smaller JavaScript files. Suitable for projects targeting older browsers or environments with limited polyfill support.
The npm package babel-plugin-transform-replace-object-assign shows sporadic release activity. Two versions (0.2.0, 0.2.1) were published in February 2016. Version 1.0.0 was released in March 2018, followed by version 2.0.0 in September 2018. Since then, there have been no further releases, indicating a period of inactivity exceeding six years as of September 2025.
Babel-plugin-transform-replace-object-assign npm package downloads show fluctuations from March 2024 to September 2025. After peaking in April 2024, downloads trended downwards before stabilizing around 50,000. There was a relative increase in Q1/Q2 2025. September 2025 downloads are incomplete and significantly lower.