Skip to content

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Sep 2, 2025

Issue

none

Description

Additionally reports minified bundle sizes by bundler in the bundler test.

Testing

make test-bundlers

Checklist

  • [n/a] If the PR is a feature, add integration tests (*.integ.spec.ts).
  • [n/a] If you wrote E2E tests, are they resilient to concurrent I/O?
  • [n/a] If adding new public functions, did you add the @public tag and enable doc generation on the package?

Sample Output

node bundlers.spec.mjs
================ webpack ================
✅ content size is under 1M char. 628,148
✅ two commands bundled (tree shaken).
✅ runtimeConfig is browser.
serializers 250
operationSchemas 0
structSchemas 1
================ vite ================
✅ content size is under 1M char. 341,346
✅ two commands bundled (tree shaken).
✅ runtimeConfig is browser.
serializers 2
operationSchemas 0
structSchemas 0
================ esbuild ================
✅ content size is under 1M char. 386,999
✅ two commands bundled (tree shaken).
✅ runtimeConfig is browser.
serializers 2
operationSchemas 0
structSchemas 0
du -sh ./dist-min/*
232K	./dist-min/esbuild-dist.min.js
296K	./dist-min/vite-dist.min.js
220K	./dist-min/vite-dist.min.umd.cjs
224K	./dist-min/webpack-dist.min.js

@kuhe kuhe requested a review from a team as a code owner September 2, 2025 17:12
@kuhe kuhe merged commit 9ddf36d into aws:main Sep 3, 2025
2 checks passed
@kuhe kuhe deleted the test/bundlers branch September 3, 2025 14:51
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants