Closed jgarivera closed 2 years ago
The app routing module is currently using the PreloadAllModules
strategy. This may be attributed to a large bundle size.
More bundle size optimizations can be explored in the future. The effects of gzip compression has been dramatic and sufficient to close this issue for now.
Describe the bug The bundle size of the built app files are a bit large (489.94 kB). It may introduce latency in poor network environments.
To Reproduce Steps to reproduce the behavior:
npm run build
.Expected behavior The bundle size of the application should be fairly small. Optimizations to reduce bundle size are definitely needed. Implement possibly gzip compression, more lazy loading, and build optimizations.
Additional context See current rundown below from previous build log. The
main.js
file is the biggest size contributor.