- Streamlined the README.md for clarity and conciseness. - Deleted outdated documentation files related to Freebit SIM management, SIM management API data flow, and various architectural guides to reduce clutter and improve maintainability. - Updated the last modified date in the README to reflect the latest changes.
709 B
709 B
📊 Bundle Analysis
Simple bundle size analysis for the customer portal.
🎯 Quick Commands
# Analyze frontend bundle
pnpm analyze
# Run bundle analysis script
pnpm bundle-analyze
📈 What to Look For
- First Load JS: < 250KB (good)
- Total Bundle: < 1MB (good)
- Large Dependencies: Consider alternatives
🔧 Simple Optimizations
- Dynamic Imports: Use
lazy()for heavy components - Image Optimization: Use Next.js
Imagecomponent - Tree Shaking: Import only what you need
// Good: Specific imports
import { debounce } from "lodash-es";
// Bad: Full library import
import * as _ from "lodash";
That's it! Keep it simple.