How to use the @import-maps/resolve.mergeImportMaps function in @import-maps/resolve

To help you get started, we’ve selected a few @import-maps/resolve examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github open-wc / open-wc / packages / rollup-plugin-index-html / rollup-plugin-index-html.js View on Github external
inlineImportMaps.forEach(importMapString => {
            const newImportMap = parseFromString(importMapString, basePath);
            importMapCache = mergeImportMaps(importMapCache, newImportMap);
          });
        }

@import-maps/resolve

Parse and resolve imports via an import map

MIT
Latest version published 1 year ago

Package Health Score

79 / 100
Full package analysis