diff --git a/.changeset/orange-icons-build.md b/.changeset/orange-icons-build.md new file mode 100644 index 000000000000..11d11bcbd296 --- /dev/null +++ b/.changeset/orange-icons-build.md @@ -0,0 +1,41 @@ +--- +"@cloudflare/workers-shared": minor +"wrangler": minor +--- + +feat: Create very basic Asset Server Worker and plumb it into `wrangler dev` + +These changes do the ground work needed in order to add Assets support for Workers in `wrangler dev`. They introduce the following components, and the following conceptual "client pipeline": + + + | + wrangler dev + | workerd ++------------------+---------------------+ +| | | +| +-----------v--------------+ | +| | | | +| | NOOP Entry Worker | | +| | | | +| +------------+-------------+ | +| | | +| env.ASSET_SERVER | +| | | +| +------------v-------------+ | +| | | | +| | Asset Server Worker | | +| | | | +| +------------+-------------+ | +| | | ++-------------------+--------------------+ + | + v + "Hello world from Asset Server" + + + +Based on the above architectural diagram, this body of work implements the following: + +- it creates a new package called `workers-shared` that hosts the `Asset Server Worker`, and the `Router Worker`in the future +- it scaffolds the `Asset Server Worker` in some very basic form, with basic configuration. Further behaviour implementation will follow in a subsequent PR +- it does the ground work of plumbing ASW into Miniflare