I'm trying to have AWS Cloudfront (with compression enabled) compress the bundle.js files generated by Angular CLI but Cloudfront does not compress the files.
Angular CLI does not generate .gz files so I upload the uncompressed bundle file to AWS S3 and then use Cloudfront to serve the files. As per Cloudfront documentation, I'm not sure how to make Angular CLI inject content-length headers in the bundle files (if that's the issue)