feat: implement phase 5 bun_bundle bootstrap

Co-authored-by: Eriyc <50216491+Eriyc@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-04 03:30:07 +00:00
parent 07b97a6e1e
commit 1fbae420da
7 changed files with 164 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
bundle="$1"
minified="$2"
bundle_size="$(wc -c < "${bundle}")"
minified_size="$(wc -c < "${minified}")"
if (( minified_size >= bundle_size )); then
echo "Expected minified bundle (${minified_size}) to be smaller than regular bundle (${bundle_size})" >&2
exit 1
fi