sparse-intern-71089
03/05/2023, 12:35 PMlittle-cartoon-10569
03/05/2023, 8:11 PMgreat-sunset-355
03/05/2023, 10:15 PMCommonJS
and NodeNext
ESM imports
https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#esm-nodejs
It looks like you mess with the paths for imports
https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#esm-nodejs
I will try to play around and see if I can get it working with pulumi. According to issues on github it should be supported since ~3.22.0little-cartoon-10569
03/05/2023, 11:04 PMnodeLinker: node-modules
in your Yarn config, if you use Yarn2.little-cartoon-10569
03/05/2023, 11:06 PMruntime:
name: nodejs
options:
nodeargs: "--loader ts-node/esm --no-warnings"
little-cartoon-10569
03/05/2023, 11:06 PM