github / webpack-bundlesize-compare-action

A github action that outputs bundlesize comparison tables for pull requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack Bundle Compression Best Practices

t1mwillis opened this issue · comments

Hi! Thank you so much for this action, I'm trying to set it up but am finding that the upload artifact stage can be extremely slow, especially for a 90mb stats.json file. Are there some best practices I should be following that I'm not?

I see an issue on the upload artifact repo saying "it's too slow," but maybe I should cache this artifact instead? Another issue I'm running into is that I'm trying to integrate this into a gatsby project, which is very "plugin-driven." I can add a webpack compression plugin, but it won't necessarily compress the stats.json file.

I'm going to close this issue, my upload-artifact issue was due to a Github actions outage. But maybe it's worth leaving this here 😄