unless there's some wasm magic happening
unless there's some wasm magic happening
[WARNING] Your Worker failed validation because it exceeded startup limits. for what seems like nearly the same script. The only diff is the js one (The one throwing deploy error) logic is inside a class method and the ts version (which does deploy) has biz logic inside fetchconst { Something} = await import("someGiantPackage");itty-durable is amazingitty-durable do that RPC doesn't?export default class extends WorkerEntrypoint {
async fetch() { return new Response("Hello from Worker B"); }
async chat(messages) {
// need env here
}export default class extends WorkerEntrypoint<Environment> {
async fetch() { return new Response("Hello from Worker B"); }
async chat(messages) {
this.env // Do something
}
}