8000 test: measure fully minified consumer bundles by morellodev · Pull Request #343 · awesome-reveal/awesome-reveal · GitHub
[go: up one dir, main page]

Skip to content

test: measure fully minified consumer bundles - #343

Merged
morellodev merged 1 commit into
nextfrom
test/minified-bundle-size
Oct 23, 2026
Merged

morellodev merged 1 commit into
nextfrom
test/minified-bundle-size

Conversation

@morellodev
Copy link
Copy Markdown
Collaborator

Summary

The size budgets measured Vite library-mode output. For ES output, library mode minifies with codegen: false, so whitespace and /* @__PURE__ */ comments stayed in the bundle. An app build removes them. Now bundleFixture sets output: { minify: true, comments: false }, so it measures what a consumer ships. The fully minified output has no //#region lines, so the code that stripped them is gone.

Each budget is now the next multiple of 10 above the measured size:

Bundle Before (min / gz) Now (min / gz) Limit
core reveal 4124 / 1786 3184 / 1543 3190 / 1550
core reveal + cascade 4220 / 1817 3259 / 1573 3260 / 1580
react Reveal (JS + CSS) 7076 5480 5490
react useReveal (JS + CSS) 6719 5214 5220
vue Reveal (JS + CSS) 6563 5068 5070
vue vReveal (JS + CSS) 6155 4803 4810

The margin is small, so a minifier change in a Vite or Rolldown upgrade can make these tests fail. Then measure again and set new limits.

Checklist

  • The PR targets the next branch.
  • The PR title follows Conventional Commits. A breaking change has ! and a BREAKING CHANGE: footer.
  • Tests cover the change. pnpm vitest run --project "*:package" passes (50 tests).
  • A change to an option, a default or an export also updates the READMEs, the consumer skills and the examples. Not applicable: the change touches only test code.

@morellodev
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
chatgpt-codex-connector Bot commented Oct 23, 2026 •
Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T13:56:35.723773Z bef1128 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: bef112875d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@morellodev
morellodev merged commit d373a6d into next Oct 23, 2026
34 of 38 checks passed
@morellodev
morellodev deleted the test/minified-bundle-size branch October 23, 2026 14:06
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.

1 participant

0