You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text_blobs/Text module support for service worker format in local mode (#735)
This adds support for `text_blobs`/Text module support in local mode. Now that cloudflare/miniflare#228 has landed in miniflare (thanks @caass!), we can use that in wrangler as well.
Fixes#416
`text_blobs`/Text module support for service worker format in local mode
6
+
7
+
This adds support for `text_blobs`/Text module support in local mode. Now that https://github.com/cloudflare/miniflare/pull/228 has landed in miniflare (thanks @caass!), we can use that in wrangler as well.
"You seem to be trying to use Durable Objects in a Worker written with Service Worker syntax.
2921
+
"You seem to be trying to use Durable Objects in a Worker written as a service-worker.
2922
2922
You can use Durable Objects defined in other Workers by specifying a \`script_name\` in your wrangler.toml, where \`script_name\` is the name of the Worker that implements that Durable Object. For example:
2923
2923
{ name = EXAMPLE_DO_BINDING, class_name = ExampleDurableObject } ==> { name = EXAMPLE_DO_BINDING, class_name = ExampleDurableObject, script_name = example-do-binding-worker }
2924
2924
Alternatively, migrate your worker to ES Module syntax to implement a Durable Object in this Worker:
"You seem to be trying to use Durable Objects in a Worker written with Service Worker syntax.";
67
+
"You seem to be trying to use Durable Objects in a Worker written as a service-worker.";
68
68
constaddScriptName=
69
69
"You can use Durable Objects defined in other Workers by specifying a `script_name` in your wrangler.toml, where `script_name` is the name of the Worker that implements that Durable Object. For example:";
0 commit comments