PHP WebShell

Текущая директория: /opt/BitGoJS/node_modules/@nrwl/devkit/src/utils/module-federation/models

Просмотр файла: index.d.ts

import type { NormalModuleReplacementPlugin } from 'webpack';
export type ModuleFederationLibrary = {
    type: string;
    name: string;
};
export type WorkspaceLibrary = {
    name: string;
    root: string;
    importKey: string | undefined;
};
export type SharedWorkspaceLibraryConfig = {
    getAliases: () => Record<string, string>;
    getLibraries: (eager?: boolean) => Record<string, SharedLibraryConfig>;
    getReplacementPlugin: () => NormalModuleReplacementPlugin;
};
export type Remotes = string[] | [remoteName: string, remoteUrl: string][];
export interface SharedLibraryConfig {
    singleton?: boolean;
    strictVersion?: boolean;
    requiredVersion?: false | string;
    eager?: boolean;
}
export type SharedFunction = (libraryName: string, sharedConfig: SharedLibraryConfig) => undefined | false | SharedLibraryConfig;
export type AdditionalSharedConfig = Array<string | [libraryName: string, sharedConfig: SharedLibraryConfig] | {
    libraryName: string;
    sharedConfig: SharedLibraryConfig;
}>;
export interface ModuleFederationConfig {
    name: string;
    remotes?: Remotes;
    library?: ModuleFederationLibrary;
    exposes?: Record<string, string>;
    shared?: SharedFunction;
    additionalShared?: AdditionalSharedConfig;
}
export type WorkspaceLibrarySecondaryEntryPoint = {
    name: string;
    path: string;
};

Выполнить команду


Для локальной разработки. Не используйте в интернете!