Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

34
node_modules/@module-federation/manifest/README.md generated vendored Normal file
View File

@@ -0,0 +1,34 @@
# `@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);
```