Using Durable Objects in subfolder

I’m new to durable objects, so sorry if this has been answered somewhere else.

I want to store my durable objects in a subfolder (Node.js) but I get a class not exported error message when trying to import them into my main worker file.

I’ve looked for an example of how to import durable objects from something like /folder/DurableObjectName.js and haven’t seen anything.

Thanks in advance

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.