https://pulumi.com logo
#general
Title
# general
b

bitter-dentist-28132

03/03/2020, 5:08 PM
is there a way to view the compiled (from typescript) js that pulumi is executing?
w

white-balloon-205

03/03/2020, 6:41 PM
Not directly. You can compile yourself and load the
.js
files directly if you want more control over TS compilation. Is there a particular reason you want/need to look at the intermediate JS code?
b

bitter-dentist-28132

03/03/2020, 7:04 PM
yes, i am trying to debug https://github.com/pulumi/pulumi/issues/3905, and the line numbers in pulumi's output don't match the actual source file (some sort of source map problem i guess)
w

white-balloon-205

03/03/2020, 7:05 PM
Huh - yeah - for your source files - I would expect it to show the
.ts
files in errors/stacks. Note that core libraries are all pre-compiled, so may show as
.js
(and you can find the actual
.js
source in the
node_modules
folder).
2 Views