Skip to content

remix/multiple-import-maps-polyfill · Function

View Source

detectMultipleImportMapSupport

Summary

Detects whether the current document can install multiple import maps.

Returns true only when an isolated feature test verifies support. If the test cannot run or complete under the document's Content Security Policy, this returns false. When the polyfill is required, its runtime begins loading in the background.

Signature

function detectMultipleImportMapSupport(): Promise<boolean>

Returns

Whether multiple import map support was verified.