@rspack-canary/browser 1.6.7-canary-357996bd-20251202221720 → 1.6.7-canary-39f82ff6-20251203173928
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/container/ModuleFederationPlugin.d.ts +0 -2
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +0 -4
- package/dist/index.mjs +337 -341
- package/dist/napi-binding.d.ts +0 -5
- package/dist/rspack.wasm32-wasi.wasm +0 -0
- package/dist/wasi-worker-browser.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import type { Compiler } from "../Compiler";
|
|
2
2
|
import { type ModuleFederationManifestPluginOptions } from "./ModuleFederationManifestPlugin";
|
|
3
3
|
import type { ModuleFederationPluginV1Options } from "./ModuleFederationPluginV1";
|
|
4
|
-
import { type ModuleFederationRuntimeExperimentsOptions } from "./ModuleFederationRuntimePlugin";
|
|
5
4
|
export interface ModuleFederationPluginOptions extends Omit<ModuleFederationPluginV1Options, "enhanced"> {
|
|
6
5
|
runtimePlugins?: RuntimePlugins;
|
|
7
6
|
implementation?: string;
|
|
8
7
|
shareStrategy?: "version-first" | "loaded-first";
|
|
9
8
|
manifest?: boolean | Omit<ModuleFederationManifestPluginOptions, "remoteAliasMap" | "globalName" | "name" | "exposes" | "shared">;
|
|
10
|
-
experiments?: ModuleFederationRuntimeExperimentsOptions;
|
|
11
9
|
}
|
|
12
10
|
export type RuntimePlugins = string[] | [string, Record<string, unknown>][];
|
|
13
11
|
export declare class ModuleFederationPlugin {
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
export interface ModuleFederationRuntimeExperimentsOptions {
|
|
2
|
-
asyncStartup?: boolean;
|
|
3
|
-
}
|
|
4
1
|
export interface ModuleFederationRuntimeOptions {
|
|
5
2
|
entryRuntime?: string;
|
|
6
|
-
experiments?: ModuleFederationRuntimeExperimentsOptions;
|
|
7
3
|
}
|
|
8
4
|
export declare const ModuleFederationRuntimePlugin: {
|
|
9
5
|
new (options?: ModuleFederationRuntimeOptions | undefined): {
|