https://pulumi.com logo
#typescript
Title
# typescript
f

freezing-electrician-6256

11/28/2023, 1:06 AM
hello! i am making a ComponentResource which needs to include a FileArchive. it seems like when I do this, the paths it looks things up in are relative to the consuming project, not the component resource, which seems pretty annoying. is there some way to make FileArchive read from the component resource project rather than from the consuming project? thanks!
ah i managed to do it with something like this: https://byby.dev/node-dirname-not-defined