codecov / codecov-javascript-bundler-plugins

Set of bundler plugins that allow users to upload bundle stats to Codecov.
MIT License
4 stars 1 forks source link

Support esbuild #41

Open nicholas-codecov opened 8 months ago

nicholas-codecov commented 8 months ago

Since we currently only support Rollup, Vite, and Webpack 5, we want to expand our potential user base by expanding support to esbuild.

drazisil-codecov commented 6 months ago

@drazisil 👋

AbhiPrasad commented 6 months ago

https://esbuild.github.io/api/#metafile

We should tell esbuild to generate a metafile, and then generate bundle analysis stats from that metafile instead of trying to hook into when the individual modules are being processed.

https://github.com/codecov/codecov-javascript-bundler-plugins/compare/main...abhi-esbuild-plugin#diff-8c61edfd118525d0a6f2234523a84b32bb8f8dac8cff3534bd5074d2b3796132R18

aj-codecov commented 3 months ago

ESbuild has continued to trend (pretty quickly) up and to the right over other bundlers and doesn't seem to be slowing down, it would be good to support this as we look towards next quarter.

Screenshot 2024-06-10 at 13 44 38