Socket
Book a DemoInstallSign in
Socket

@module-federation/manifest

Package Overview
Dependencies
Maintainers
8
Versions
885
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/manifest

Provide manifest/stats for webpack/rspack MF project .

0.8.3
Source
npmnpm
Version published
Weekly downloads
1.3M
-36.62%
Maintainers
8
Weekly downloads
 
Created
Source

@module-federation/manifest Documentation

Description

This package contains the manifest plugin for webpack/rspack internal.

Installation

npm install @module-federation/manifest

Usage

  • replace expose options with container.options.exposes = containerManager.containerPluginExposesOptions;
import { ContainerManager } from '@module-federation/managers';
const containerManager = new ContainerManager();
containerManager.init(options);
// it will set expose name automatically
options.exposes = containerManager.containerPluginExposesOptions;
  • use StatsPlugin in webpack.config.js
import { StatsPlugin } from '@module-federation/manifest';

new StatsPlugin(mfOptions, {
  pluginVersion: pkg.version,
  bundler: 'webpack',
}).apply(compiler);

Keywords

Module Federation

FAQs

Package last updated on 12 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.