Rollup-plugin-esbuild is a valuable tool for developers seeking to integrate the lightning-fast esbuild bundler into their Rollup workflows. Version 4.2.0 introduces subtle but noteworthy improvements compared to its predecessor, version 4.1.0. While the core dependencies like joycon, jsonc-parser, and @rollup/pluginutils remain consistent, the development dependencies reveal some key changes.
Specifically, the rollup dev dependency has been bumped from version 2.45.1 to 2.45.2, while @types/jest went to version 26.0.23 from 26.0.22 and ts-jest was updated to 26.5.5 from older 26.5.4. Although seemingly minor, these updates often include bug fixes and performance enhancements within the testing and bundling ecosystems. Notably, the unpacked size of the package has increased from 10073 bytes in version 4.1.0 to 13849 bytes in version 4.2.0, suggesting that new features, improved code or other assets were added in the newer version.
Developers already using version 4.1.0 may find upgrading to 4.2.0 beneficial to leverage the latest improvements and ensure compatibility with the newest rollup versions. For new adopters, the plugin streamlines the process of using esbuild's exceptional speed for transpilation and bundling within a Rollup environment. Also consider that this tool depends on esbuild and rollup as peer dependencies, so make sure you have them >=0.10.1 and ^1.20.0 || ^2.0.0 respectively.
The are not vulnerabilities for the version 4.2.0 of the package rollup-plugin-esbuild