On May 2026 plenary, we've got the consensus to add support filtered namespace for this proposal. The spec work is happening on PR #29, and we now need to work on spec text to add the support for dynamic import calls like import[.defer]() The goal of this thread is that we discuss about the interface on how we can get filtered namespaces (i.e namespaces that contains only the exports explicitly requested) for dynamic imports. Some non-exhaustive proposals I remember we discussed are:
import("mod.js", { filter: ["foo", "bar" ] });
import("mod.js", { select: ["foo", "bar" ] });
import("mod.js", { keys: ["foo", "bar" ] });
I'd like to hear your thoughts on it.
On May 2026 plenary, we've got the consensus to add support filtered namespace for this proposal. The spec work is happening on PR #29, and we now need to work on spec text to add the support for dynamic import calls like
import[.defer]()The goal of this thread is that we discuss about the interface on how we can get filtered namespaces (i.e namespaces that contains only the exports explicitly requested) for dynamic imports. Some non-exhaustive proposals I remember we discussed are:I'd like to hear your thoughts on it.