mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 14:21:00 +00:00
28 lines
628 B
Markdown
28 lines
628 B
Markdown
# `@module-federation/runtime-tools`
|
|
|
|
Module federation runtime package collection. You can just install it instead of installing all the packages separately.
|
|
|
|
It includes the following packages:
|
|
|
|
- `@module-federation/runtime`
|
|
- `@module-federation/webpack-bundler-runtime`
|
|
|
|
Usage
|
|
|
|
```bash
|
|
npm install @module-federation/runtime-tools
|
|
```
|
|
|
|
- import runtime
|
|
|
|
```ts
|
|
import runtime from '@module-federation/runtime-tools';
|
|
import runtime from '@module-federation/runtime-tools/runtime';
|
|
```
|
|
|
|
- import webpack bundler runtime
|
|
|
|
```ts
|
|
import webpackBundlerRuntime from '@module-federation/runtime-tools/webpack-bundler-runtime';
|
|
```
|