babel-plugin-transform-object-assign is a Babel plugin that transforms Object.assign calls into inline, equivalent code. By replacing the function call directly, this plugin can reduce the overall bundle size and improve performance, particularly in environments where Object.assign is not natively supported or incurs a performance penalty. It avoids the need for a polyfill, streamlining the JavaScript output and optimizing your application for leaner execution. This plugin is beneficial for older browsers or environments where full ES6 compatibility isn't guaranteed.
The npm package babel-plugin-transform-object-assign had infrequent releases. Initial releases occurred between October 2015 and January 2017, with a few scattered releases in between. The most releases were in November 2015 with four versions published.After version 6.22.0 in January 2017, the package has seen no further releases up to August 2025.
Babel-plugin-transform-object-assign npm package downloads show fluctuation. From March 2024 to August 2025, downloads generally varied between 276k and 465k, with peaks in June and July 2025 exceeding 500k. September 2025's incomplete data suggests a potential decrease with only 158k downloads so far, but the month is not over yet.