This message was deleted.
# general
s
This message was deleted.
a
@cool-egg-852 YMMV, but we use
let
to declare the name, do our conditional assignment by
env
and then export that name at the top-level, kinda eh but it works for us in our base stacks.
c
That’s how I’ve done it in the past, but we have multiple files (we only use
index.ts
to include other files). This makes the whole system a PITA as we have to export over and over again. On top of this, we need to have files included conditionally. That’s why I was wondering if there is a better solution.