🚀 Launch Week Day 4:Introducing the Alert Details Page: A Better Way to Explore Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

@single-spa/import-map-microfrontend-deps

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@single-spa/import-map-microfrontend-deps

Simplified import map dependency management

latest
npmnpm
Version
1.1.0
Version published
Maintainers
0
Created
Source

import-map-microfrontend-deps

Simplified dependency management for microfrontends

Installation

npm i @single-spa/import-map-microfrontend-deps

Usage

import { buildImportMapDependencies } from "@single-spa/import-map-microfrontend-deps";
import { ImportMapMicrofrontendUtils } from "@single-spa/import-map-microfrontend-utils";

await buildImportMapDependencies({
  template: {
    imports: {
      react: "18.3.0",
      "react-dom": "18.3.0",
    },
    scopes: {},
  },
  outputFolder: "dist",
  utils: new ImportMapMicrofrontendUtils({
    baseOrigin: "https://cdn.example.com",
  }),
});

Keywords

single-spa

FAQs

Package last updated on 17 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts