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

Check Core bundle size warning when building code locally #3703

Closed
ndricimrr opened this issue Apr 18, 2024 · 1 comment · Fixed by #3737
Closed

Check Core bundle size warning when building code locally #3703

ndricimrr opened this issue Apr 18, 2024 · 1 comment · Fixed by #3737
Assignees
Labels
internal Stuff like NFRs, CI pipeline

Comments

@ndricimrr
Copy link
Contributor

Screenshot 2024-04-18 at 18 32 58

Investigate where it comes from or when. Can we disable the warning or increase the limit or somehow decrease the size altogether

@ndricimrr ndricimrr added the internal Stuff like NFRs, CI pipeline label Apr 19, 2024
@walmazacn
Copy link
Contributor

walmazacn commented May 21, 2024

It comes from Vite config where 'chunkSizeWarningLimit' is set to 530 kB - what's interesting, in 'bundlesize' script limit for reported 'luigi.js' file is set to 650 kB and its original size on Windows is 519 kB (in Vite output it's 531 kB - 'core/public/luigi.js')

Possible solutions - either we increase the limit in Vite config or investigate how to decrease the size of 'luigi.js' file (dynamic imports might be a good option)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Stuff like NFRs, CI pipeline
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants