Skip to content

chore(demo): split lib chunks and track their sizes#521

Merged
tbouffard merged 5 commits into
mainfrom
chore/demo_split_chunk
Apr 15, 2026
Merged

chore(demo): split lib chunks and track their sizes#521
tbouffard merged 5 commits into
mainfrom
chore/demo_split_chunk

Conversation

@tbouffard

Copy link
Copy Markdown
Member

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.

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.
@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Apr 14, 2026
…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.
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Apr 15, 2026

Copy link
Copy Markdown

♻️ PR Preview 1e478e2 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

@tbouffard tbouffard merged commit ef17f1f into main Apr 15, 2026
8 checks passed
@tbouffard tbouffard deleted the chore/demo_split_chunk branch April 15, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant