Courses / JavaScript
75. Import maps
Browser import maps for controlling module resolution and enabling shared runtime modules in microfrontends.
JavaScript
Import maps
A browser feature that lets you rewrite module specifiers to specific URLs so different bundles resolve the same runtime modules.
"I need multiple microfrontends to share the same React runtime without bundling it into each app."
Import maps are a browser-side mapping that tells the module loader which URL to fetch when a given import specifier is used, enabling consistent resolution across apps.
"I need multiple microfrontends to share the same React runtime without bundling it into each app."
Import maps are a browser-side mapping that tells the module loader which URL to fetch when a given import specifier is used, enabling consistent resolution across apps.