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 - npm Package Compare versions

Comparing version 0.0.0-next-20240228073832 to 0.0.0-next-20240301023125

6

package.json
{
"name": "@module-federation/manifest",
"version": "0.0.0-next-20240228073832",
"version": "0.0.0-next-20240301023125",
"license": "MIT",

@@ -27,4 +27,4 @@ "description": "Provide manifest/stats for webpack/rspack MF project .",

"chalk": "3.0.0",
"@module-federation/sdk": "0.0.0-next-20240228073832",
"@module-federation/managers": "0.0.0-next-20240228073832"
"@module-federation/sdk": "0.0.0-next-20240301023125",
"@module-federation/managers": "0.0.0-next-20240301023125"
},

@@ -31,0 +31,0 @@ "exports": {

# `@module-federation/manifest` Documentation
## Description
This package contains the manifest plugin for webpack/rspack internal.
## Installation
```sh
npm install @module-federation/manifest
```
## Usage
1. replace expose options with container.options.exposes = containerManager.containerPluginExposesOptions;
```js
import { ContainerManager } from '@module-federation/managers';
const containerManager = new ContainerManager();
containerManager.init(options);
// it will set expose name automatically
options.exposes = containerManager.containerPluginExposesOptions;
```
2. use StatsPlugin in webpack.config.js
```js
import { StatsPlugin } from '@module-federation/manifest';
new StatsPlugin(mfOptions, {
pluginVersion: pkg.version,
bundler: 'webpack',
}).apply(compiler);
```
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