https://pulumi.com logo
#typescript
Title
# typescript
l

little-cartoon-10569

01/18/2022, 10:51 PM
Related to my earlier thread: I'd like to try the new esm features in 3.21.1 and newer, but (due to general lack of JS/TS knowledge), changing my package.json type to module has resulted in
TypeError: Unknown file extension ".ts" for /pulumi/projects/myproj/index.ts
Is there an example of a good package.json + tsconfig.json that works with type: module?
The ultimate goal is to get TS path mapping working in Pulumi programs. Am I heading the right way?
30 Views