Frontend Performance
Angular application performance optimizations.
Build Optimizations
Production Build
# AOT compilation + tree shaking + minification
yarn build:prod:gauzy
Lazy Loading
All feature modules are lazy-loaded, reducing initial bundle size:
{
path: 'employees',
loadChildren: () =>
import('./employees/employees.module').then(m => m.EmployeesModule),
}
Bundle Analysis
# Generate bundle analysis
npx nx build gauzy --stats-json
npx webpack-bundle-analyzer dist/apps/gauzy/stats.json