chore(demo): split lib chunks and track their sizes#521
Merged
Conversation
Use Rolldown codeSplitting groups with priority to separate bpmn-visualization from its dependencies (mxgraph, es-toolkit, fast-xml-parser) into dedicated chunks. Without priority, Rolldown recursively pulls dependencies into the first matching group. Add a script to list lib chunk sizes and display them in the GH Actions job summary to track size evolution across PRs and detect unexpected increases. Include vite.config.ts in tsconfig to fix IDE type-checking errors.
…unks.sh Also set executable permission on the script file.
By default, the script now outputs both plain list and comparison markdown table. New --md-simple option outputs a simpler markdown table (Dependency | Size) without before/current columns. Update deploy-pr-demo workflow to use --md-simple.
|
|
♻️ PR Preview 1e478e2 has been successfully destroyed since this PR has been closed. 🤖 By surge-preview |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Use Rolldown codeSplitting groups with priority to separate bpmn-visualization
from its dependencies (mxgraph, es-toolkit, fast-xml-parser) into dedicated chunks.
Without priority, Rolldown recursively pulls dependencies into the first matching group.
Add a script to list lib chunk sizes and display them in the GH Actions job summary
to track size evolution across PRs and detect unexpected increases.
Include vite.config.ts in tsconfig to fix IDE type-checking errors.