WarUI

Bundle Size and Tree-Shaking Report

GRID-A28-F13P0baselinePlanned

Shows minified, gzip and brotli sizes for prebuilt import recipes ranging from the minimal core to all features, generated at build time with a pinned bundler. It proves unused features are not shipped.

Planned. This page shows the specification from issue #208. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

Recipe 'core only' selected with size breakdown table and treemap.

Expected behavior

Selecting features updates totals using precomputed per-recipe build outputs. A verification list confirms excluded modules are absent from the output. Release comparison shows size deltas per module.

Planned API surface

bundleReportimportRecipesmoduleSizessideEffectsFlagtreeShakeVerification

Acceptance criteria

  • Sizes come from real builds performed in CI with a pinned bundler version recorded in the report (pending)
  • Every published recipe lists included and excluded modules (pending)
  • Tree-shake verification fails if an excluded module's marker appears in the output (pending)
  • Report states that WarGrid has zero runtime dependencies or lists any that exist (pending)
  • Deltas versus previous release are shown in bytes and percent (pending)