https://pulumi.com logo
Title
e

echoing-oil-42947

04/22/2023, 3:05 PM
👋 Is it possible to specify the
main
field in a stack configuration? Or does that need to be project wide? I've dealt with having multiple stacks per project (that are the same, just env specific), and also having multiple projects per repo, but I was wondering if 1 project can contain stacks with different content somehow
I did find a workaround to this; I updated my
types
and
exports
fields in my package.json; and just installed one package in the other to access shared utilities
l

little-cartoon-10569

04/22/2023, 9:27 PM
Generally, Pulumi-based packages that are used from other packages aren't provided as Pulumi programs. Classes can be exported from one package to be used by others. This avoids having to deal with different entrypoints for different use cases.