hello! i am making a ComponentResource which needs...
# typescript
f
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