Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@module-federation/manifest

Package Overview
Dependencies
Maintainers
8
Versions
489
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.0.0-next-20240911090730
  • npm
  • Socket score

Version published
Weekly downloads
472K
decreased by-37.38%
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

  1. 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;
  1. use StatsPlugin in webpack.config.js
import { StatsPlugin } from '@module-federation/manifest';

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

Keywords

FAQs

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc