windymelt
CDCloudflare Developers
•Created by windymelt on 5/30/2024 in #workers-help
Worker is rejecting machine-generated ESModule
I'm using Scala.js, Scala compiler for ECMAScript (like TypeScript).
When I upload worker with
scheduled
handler, Cloudflare rejects content: The uploaded script has no registered event handlers. (10068)
.
What kind of handler does Cloudflare accept? Only plain ESModule? Should I use old script style instead of ESModule?
My module that finally exports default
and scheduled
:
1 replies