Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
canvas
/
node_modules
/
@rspack
/
core
/
dist
/
sharing
/
Filename :
ProvideSharedPlugin.d.ts
back
Copy
import { BuiltinPlugin, BuiltinPluginName } from "@rspack/binding"; import { Compiler } from "../Compiler"; import { RspackBuiltinPlugin } from "../builtin-plugin/base"; export type ProvideSharedPluginOptions = { provides: Provides; shareScope?: string; enhanced?: boolean; }; export type Provides = (ProvidesItem | ProvidesObject)[] | ProvidesObject; export type ProvidesItem = string; export type ProvidesObject = { [k: string]: ProvidesConfig | ProvidesItem; }; export type ProvidesConfig = { eager?: boolean; shareKey: string; shareScope?: string; version?: false | string; }; export declare class ProvideSharedPlugin extends RspackBuiltinPlugin { name: BuiltinPluginName; _options: { provides: [string, { shareKey: string; version: string | false | undefined; shareScope: string; eager: boolean; }][]; enhanced: boolean; }; constructor(options: ProvideSharedPluginOptions); raw(compiler: Compiler): BuiltinPlugin; }