If I want to store my Typescript files in a `src` ...
# general
f
If I want to store my Typescript files in a
src
directory in my Pulumi project, how would I do that? I tried just moving them all into a
src
dir and adding this to my `tsconfig.json`:
Copy code
"files": [
        "src/index.ts"
    ]
When running
pulumi up
, I get:
Copy code
We failed to locate the entry point for your program: /home/kenny/compute_software/infrastructure/pulumi-k8s-src
    Here's what we think went wrong:
      * Your program's 'main' file (/home/kenny/compute_software/infrastructure/pulumi-k8s-src/index.js) does not exist.
f
@full-dress-10026 https://pulumi.io/reference/project/#pulumi-yaml I think you can set
main: src/
in your
Pulumi.yaml