From 569417826e8d08e4b690dc82667929ae187a6887 Mon Sep 17 00:00:00 2001 From: Shaoyu Meng Date: Tue, 16 Jun 2026 14:08:08 -0700 Subject: [PATCH 01/34] docs(spec): add fetchOptions ESM remote loading design Design for threading per-remote fetchOptions through registerRemotes so auth/compliance headers reach every asset in the ESM module graph (manifest, entry, chunks, shared deps, manifest CSS) via a fetch + blob import-rewriting loader. Co-Authored-By: Claude Opus 4.8 (1M context) --- ...-fetchoptions-esm-remote-loading-design.md | 205 ++++++++++++++++++ 1 file changed, 205 insertions(+) create mode 100644 docs/superpowers/specs/2026-06-16-fetchoptions-esm-remote-loading-design.md diff --git a/docs/superpowers/specs/2026-06-16-fetchoptions-esm-remote-loading-design.md b/docs/superpowers/specs/2026-06-16-fetchoptions-esm-remote-loading-design.md new file mode 100644 index 00000000000..54f6f95e7d1 --- /dev/null +++ b/docs/superpowers/specs/2026-06-16-fetchoptions-esm-remote-loading-design.md @@ -0,0 +1,205 @@ +# `fetchOptions` for header-authenticated ESM remote loading + +**Date:** 2026-06-16 +**Status:** Approved design — pending implementation plan +**Related:** https://github.com/module-federation/enhanced/issues/15 +**PoC:** `js-module-import/index.html` (fetch + blob import-rewriting loader) + +## Problem + +Native `