:wave: Is it possible to specify the `main` field ...
# general
e
👋 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
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.