Closed Hebilicious closed 3 months ago
Read from here on down for why it was changed from workerd to worker originally. https://github.com/porsager/postgres/pull/618#issuecomment-1693173590
Would be great to get a confirmation from cloudflare if they now think workerd
is the way to go before merging, but my own tests seem to have no problems with workerd
@porsager - workerd
is the correct export. Also see https://runtime-keys.proposal.wintercg.org/#workerd
I'll merge this and remove the worker export for now, as it appears the cases where the worker export is requested actually needs the default esm export.
Hello there ! The official runtime export key for cloudflare is
workerd
(not worker). I believe many apps out there might already be relying onworker
so I propose to add it alongside it.Reference :
https://developers.cloudflare.com/workers/wrangler/bundling/#conditional-exports
https://runtime-keys.proposal.wintercg.org/#workerd