I was investigating space-related issues within my team’s end-to-end usage of CDKTF and its providers when I noticed that the Javascript files included in the packages’ bundled JSII archives are transpiled using inlined source maps instead of the more traditional approach of having separate source map files.
Base64-encoding the mapped source has no security benefit and increases the size of the package by a non-trivial amount, so why is the inlined approach used by Terraform CDK and its prebuilt providers?
For comparison’s sake, the AWS CDK ships its package using source map files.