We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c62afd commit 88ca06fCopy full SHA for 88ca06f
1 file changed
.github/workflows/performance.yml
@@ -171,17 +171,17 @@ jobs:
171
echo "Checking bundle size..."
172
BUNDLE_SIZE=$(du -b dist/index.js | cut -f1)
173
echo "Bundle size: $BUNDLE_SIZE bytes"
174
-
+
175
# Bundle size assertions
176
MAX_BUNDLE_SIZE=50000 # 50KB
177
178
if [ "$BUNDLE_SIZE" -gt "$MAX_BUNDLE_SIZE" ]; then
179
echo "❌ Bundle size $BUNDLE_SIZE bytes exceeds limit of $MAX_BUNDLE_SIZE bytes"
180
exit 1
181
fi
182
183
echo "✅ Bundle size within acceptable limits"
184
185
echo "Number of lines in dist:"
186
find dist -name "*.js" -exec wc -l {} \;
187
0 commit comments