I have a Pages app accessing a DurableObject, and up until wrangler 3.46, it worked by adding this t

I have a Pages app accessing a DurableObject, and up until wrangler 3.46, it worked by adding this to my
wrangler dev
command: --do CHATSTORE=ChatStore@chat-store, but with 3.46, a new "named endpoints" feature was added https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%403.46.0 and I can't figure out how to get my DO bound locally again... In my worker, it's exported like this:
export default {};

export class ChatStore {
}

I tried --do CHATSTORE=ChatStore@chat-store#ChatStore which looks ridiculous but it didn't work šŸ™‚
GitHub
Minor Changes


#5282 b7ddde1 Thanks @maxwellpeterson! - feature: Add source map support for Workers
Adds the source_maps boolean config option. When enabled, source maps included in the build outp...
Was this page helpful?