okikio / bundlejs

An online tool to quickly bundle & minify your projects, while viewing the compressed gzip/brotli bundle size, all running locally on your browser.
https://bundlejs.com
MIT License
751 stars 13 forks source link

Incorrent treeshake size in badge/API #49

Closed crimx closed 1 year ago

crimx commented 1 year ago

The treeshake size in badge/API result is incorrect.

See example.

image
okikio commented 1 year ago

Yeah, that's a cache issue, I've now manually cleared it up but if you run into other cache issues like this if you give it a couple hours it will automatically clear up by itself, or you can take the badge url, and use the path /no-cache and it manually clear the cache and replace it with a new badge that's been generated https://deno.bundlejs.com/no-cache?q=value-enhancer&treeshake=[{isVal,subscribe}]&config={%22analysis%22:undefined}&badge=

crimx commented 1 year ago

Got it. no-cache works. I'll keep this issue open. You can close it whenever you feel it's appropriate.

okikio commented 1 year ago

Ok, then I'll close this issue