diff --git a/packages/miniflare/src/plugins/core/modules.ts b/packages/miniflare/src/plugins/core/modules.ts index 14ed65dd6..9a1df1e03 100644 --- a/packages/miniflare/src/plugins/core/modules.ts +++ b/packages/miniflare/src/plugins/core/modules.ts @@ -245,7 +245,12 @@ ${dim(modulesConfig)}`; const spec = specExpression.value; // `node:` and `cloudflare:` imports don't need to be included explicitly - if (spec.startsWith("node:") || spec.startsWith("cloudflare:")) { + // The `__STATIC_CONTENT_MANIFEST` module is generated by Workers Sites. + if ( + spec.startsWith("node:") || + spec.startsWith("cloudflare:") || + spec === "__STATIC_CONTENT_MANIFEST" + ) { return; }