Hi there everyone.
I’m working on publishing a set of Pulumi component packages to be reused across teams. I have a TS monorepo that has multiple packages for different components (RDS, S3 Buckets, etc).
Currently, I’m facing some issues compiling the packages to ESM and consuming them in other Pulumi projects. I see there are a few issues on Github about ESM support with Pulumi still being in the works, or requiring some additional workarounds.
Are there any general recommendation for compiling such packages, that are out-of-the-box compatible with default Pulumi typescript projects? Should I only focus on CJS output to cover most scenarios?
TIA