Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix the rollup bundle visualiser output #1315

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

pauldambra
Copy link
Member

When we last changed the rollup bundling - I think - we started writing a bundle file for each entrypoint but all with the same name

I think I'm the only person that uses this but I do use it, so this changes to output a file for every bundle with its own name.

We can use this primarily to see what is causing array.js to grow but can also then dig into each of the bundles if we need to

Copy link

vercel bot commented Jul 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog-js ✅ Ready (Inspect) Visit Preview Jul 23, 2024 2:10pm

Copy link

Size Change: 0 B

Total Size: 1.16 MB

ℹ️ View Unchanged
Filename Size
dist/array.full.js 330 kB
dist/array.js 152 kB
dist/exception-autocapture.js 10.4 kB
dist/main.js 153 kB
dist/module.js 152 kB
dist/recorder-v2.js 110 kB
dist/recorder.js 110 kB
dist/surveys-preview.js 59.6 kB
dist/surveys.js 64.8 kB
dist/tracing-headers.js 8.26 kB
dist/web-vitals.js 5.79 kB

compressed-size-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants