terraform-cdk
terraform-cdk copied to clipboard
Remove source maps from providers
Description
The @cdktf/provider-aws package is 342MB.
Removing the inline source maps would reduce that by ~35%.
References
No response
Help Wanted
- [ ] I'm interested in contributing a fix myself
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
We added the source maps a while back on request of a user wo wanted to improve the jump to definition experience during development. I can see that the size is quite big but so is the underlying provider. By using specific imports one can reduce the compile time, so this improvement would most likely be only affecting the raw size of the package.
I can see the size being an annoyance but the missing source maps would be one as well, therefore we are awaiting evidence here that this is a worthwhile investment.