relative-ci / roadmap

Issues, questions and feature requests for RelativeCI
https://relative-ci.com
3 stars 0 forks source link

Support for Vite/Rollup #39

Open vio opened 1 year ago

vio commented 1 year ago
vio commented 1 year ago

rollup-plugin-webpack-stats generates a webpack-stats.json that can be processed by:

Vite examples with @relative-ci/agent and relative-ci/agent-action

andreaswierm commented 1 year ago

Hello @vio, I tried to use beta package for rollup, and I did not get the expected results. It was unable to track the size of the individual files, it only calculated the final bundle size.

When is planned to have the rollup integration out of beta?

vio commented 1 year ago

It was unable to track the size of the individual files, it only calculated the final bundle size.

hi @andreaswierm, this sounds like unexpected behavior. relative-ci/bundle-stats with vite/rollup are already tested by a couple of projects, and none of them had this issue. Also, the total bundle size is calculated from the size of the assets.

It will help a lot if you can provide a link to a minimal reproduction repo, but if you can share more details about your setup I can try to reproduce it as well:

andreaswierm commented 1 year ago

Hello @vio, I did another try to configure the rollup-plugin-webpack-stats in our repo and it works perfectly.