This message was deleted.
# general
s
This message was deleted.
w
You can set the
package.json
main
property to define the file Node.js will use as the entry point for the package. If you need your
Pulumi.yaml
file to live somewhere other than where your
package.json
lives - you can use
main:
in the Pulumi.yaml to indeicate where the
package.json
for the Node.js package to load can be found. The latter is documented at https://pulumi.io/reference/project/. The former is alluded to in https://pulumi.io/reference/javascript/ but we could definitely make that clearer.
s
thanks!
doh on the package.json
main
should have known that
goal is to sort of isolate infra code from src code of the actual project, but not sure that’s the best approach yet since they are beginning to merge together đŸ™‚