@rspack-canary/browser 1.4.12-canary-1a94ade3-20250814141828 → 1.4.12-canary-51b82a4d-20250815075104
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/BuildInfo.d.ts +3 -3
- package/dist/Chunk.d.ts +3 -3
- package/dist/ChunkGraph.d.ts +2 -2
- package/dist/Chunks.d.ts +2 -2
- package/dist/Compilation.d.ts +3 -3
- package/dist/Compiler.d.ts +1 -1
- package/dist/ConcatenatedModule.d.ts +1 -1
- package/dist/ContextModule.d.ts +1 -1
- package/dist/Diagnostics.d.ts +1 -1
- package/dist/Entrypoint.d.ts +1 -1
- package/dist/ExportsInfo.d.ts +1 -1
- package/dist/ExternalModule.d.ts +1 -1
- package/dist/FileSystem.d.ts +1 -1
- package/dist/Module.d.ts +3 -3
- package/dist/ModuleGraph.d.ts +1 -1
- package/dist/NativeWatchFileSystem.d.ts +1 -1
- package/dist/NormalModule.d.ts +2 -2
- package/dist/NormalModuleFactory.d.ts +1 -1
- package/dist/Resolver.d.ts +1 -1
- package/dist/ResolverFactory.d.ts +1 -1
- package/dist/RspackError.d.ts +2 -2
- package/dist/RuntimeGlobals.d.ts +1 -1
- package/dist/RuntimeModule.d.ts +1 -1
- package/dist/builtin-plugin/APIPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/AssetModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/BannerPlugin.d.ts +2 -2
- package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CircularDependencyRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ContextReplacementPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CopyRspackPlugin.d.ts +2 -2
- package/dist/builtin-plugin/CssChunkingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CssModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DataUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DefinePlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DllEntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +2 -2
- package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableLibraryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EntryPlugin.d.ts +2 -2
- package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +2 -2
- package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +2 -2
- package/dist/builtin-plugin/ExternalsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FetchCompileAsyncWasmPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FileUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagAllModulesAsUsedPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +1 -1
- package/dist/builtin-plugin/HotModuleReplacementPlugin.d.ts +1 -1
- package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/HttpUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/IgnorePlugin.d.ts +2 -2
- package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsonModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LibManifestPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +1 -1
- package/dist/builtin-plugin/MangleExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleInfoHeaderPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NaturalChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NaturalModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NoEmitOnErrorsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NormalModuleReplacementPlugin.d.ts +1 -1
- package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +2 -2
- package/dist/builtin-plugin/ProgressPlugin.d.ts +2 -2
- package/dist/builtin-plugin/ProvidePlugin.d.ts +1 -1
- package/dist/builtin-plugin/RealContentHashPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RemoveDuplicateModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RsdoctorPlugin.d.ts +2 -2
- package/dist/builtin-plugin/RslibPlugin.d.ts +2 -2
- package/dist/builtin-plugin/RstestPlugin.d.ts +2 -2
- package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +2 -2
- package/dist/builtin-plugin/RuntimePlugin.d.ts +1 -1
- package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SizeLimitsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +2 -2
- package/dist/builtin-plugin/SplitChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +2 -2
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/WebWorkerTemplatePlugin.d.ts +1 -1
- package/dist/builtin-plugin/WorkerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/base.d.ts +1 -1
- package/dist/builtin-plugin/css-extract/index.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/hooks.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/plugin.d.ts +2 -2
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +1 -1
- package/dist/config/adapter.d.ts +1 -1
- package/dist/config/adapterRuleUse.d.ts +1 -1
- package/dist/config/types.d.ts +1 -1
- package/dist/container/ContainerPlugin.d.ts +1 -1
- package/dist/container/ContainerReferencePlugin.d.ts +1 -1
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
- package/dist/exports.d.ts +3 -3
- package/dist/index.mjs +4 -4
- package/dist/lib/DllReferencePlugin.d.ts +1 -1
- package/dist/lib/WebpackError.d.ts +1 -1
- package/dist/loader-runner/index.d.ts +1 -1
- package/dist/loader-runner/worker.d.ts +1 -1
- package/dist/rspack.wasm32-wasi.wasm +0 -0
- package/dist/schema/plugins.d.ts +1 -1
- package/dist/sharing/ConsumeSharedPlugin.d.ts +1 -1
- package/dist/sharing/ProvideSharedPlugin.d.ts +1 -1
- package/dist/sharing/ShareRuntimePlugin.d.ts +1 -1
- package/dist/stats/StatsFactory.d.ts +1 -1
- package/dist/stats/statsFactoryUtils.d.ts +2 -2
- package/dist/swc.d.ts +1 -1
- package/dist/taps/compilation.d.ts +1 -1
- package/dist/taps/types.d.ts +1 -1
- package/dist/util/SplitChunkSize.d.ts +1 -1
- package/dist/util/source.d.ts +1 -1
- package/package.json +5 -7
- package/dist/binding.d.ts +0 -8
- package/dist/napi-binding.d.ts +0 -3068
package/dist/BuildInfo.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import binding from "
|
|
1
|
+
import binding from "@rspack/binding";
|
|
2
2
|
import type { Source } from "webpack-sources";
|
|
3
3
|
declare const $assets: unique symbol;
|
|
4
|
-
declare module "
|
|
4
|
+
declare module "@rspack/binding" {
|
|
5
5
|
interface Assets {
|
|
6
6
|
[$assets]: Record<string, Source>;
|
|
7
7
|
}
|
|
@@ -13,5 +13,5 @@ declare module "./binding" {
|
|
|
13
13
|
buildDependencies: Set<string>;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
export type { BuildInfo } from "
|
|
16
|
+
export type { BuildInfo } from "@rspack/binding";
|
|
17
17
|
export declare const commitCustomFieldsToRust: (buildInfo: binding.BuildInfo) => void;
|
package/dist/Chunk.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type ChunkGroup } from "
|
|
1
|
+
import { type ChunkGroup } from "@rspack/binding";
|
|
2
2
|
interface ChunkMaps {
|
|
3
3
|
hash: Record<string | number, string>;
|
|
4
4
|
contentHash: Record<string | number, Record<string, string>>;
|
|
5
5
|
name: Record<string | number, string>;
|
|
6
6
|
}
|
|
7
|
-
declare module "
|
|
7
|
+
declare module "@rspack/binding" {
|
|
8
8
|
interface Chunk {
|
|
9
9
|
readonly files: ReadonlySet<string>;
|
|
10
10
|
readonly runtime: ReadonlySet<string>;
|
|
@@ -13,4 +13,4 @@ declare module "./binding" {
|
|
|
13
13
|
getChunkMaps(realHash: boolean): ChunkMaps;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
export { Chunk } from "
|
|
16
|
+
export { Chunk } from "@rspack/binding";
|
package/dist/ChunkGraph.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { RuntimeSpec } from "./util/runtime";
|
|
2
|
-
declare module "
|
|
2
|
+
declare module "@rspack/binding" {
|
|
3
3
|
interface ChunkGraph {
|
|
4
4
|
getModuleChunksIterable(module: Module): Iterable<Chunk>;
|
|
5
5
|
getOrderedChunkModulesIterable(chunk: Chunk, compareFn: (a: Module, b: Module) => number): Iterable<Module>;
|
|
6
6
|
getModuleHash(module: Module, runtime: RuntimeSpec): string | null;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
export { ChunkGraph } from "
|
|
9
|
+
export { ChunkGraph } from "@rspack/binding";
|
package/dist/Chunks.d.ts
CHANGED
package/dist/Compilation.d.ts
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* Copyright (c) JS Foundation and other contributors
|
|
8
8
|
* https://github.com/webpack/webpack/blob/main/LICENSE
|
|
9
9
|
*/
|
|
10
|
-
import type { AssetInfo, ChunkGroup, Dependency, ExternalObject, JsCompilation, JsRuntimeModule } from "
|
|
11
|
-
import binding from "
|
|
12
|
-
export type { AssetInfo } from "
|
|
10
|
+
import type { AssetInfo, ChunkGroup, Dependency, ExternalObject, JsCompilation, JsRuntimeModule } from "@rspack/binding";
|
|
11
|
+
import binding from "@rspack/binding";
|
|
12
|
+
export type { AssetInfo } from "@rspack/binding";
|
|
13
13
|
import * as liteTapable from "@rspack/lite-tapable";
|
|
14
14
|
import type { Source } from "webpack-sources";
|
|
15
15
|
import type { EntryOptions, EntryPlugin } from "./builtin-plugin";
|
package/dist/Compiler.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Copyright (c) JS Foundation and other contributors
|
|
8
8
|
* https://github.com/webpack/webpack/blob/main/LICENSE
|
|
9
9
|
*/
|
|
10
|
-
import type binding from "
|
|
10
|
+
import type binding from "@rspack/binding";
|
|
11
11
|
import * as liteTapable from "@rspack/lite-tapable";
|
|
12
12
|
import type Watchpack from "watchpack";
|
|
13
13
|
import type { Source } from "webpack-sources";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ConcatenatedModule } from "
|
|
1
|
+
export { ConcatenatedModule } from "@rspack/binding";
|
package/dist/ContextModule.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ContextModule } from "
|
|
1
|
+
export { ContextModule } from "@rspack/binding";
|
package/dist/Diagnostics.d.ts
CHANGED
package/dist/Entrypoint.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { ChunkGroup } from "
|
|
1
|
+
import type { ChunkGroup } from "@rspack/binding";
|
|
2
2
|
export type Entrypoint = ChunkGroup;
|
package/dist/ExportsInfo.d.ts
CHANGED
package/dist/ExternalModule.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ExternalModule } from "
|
|
1
|
+
export { ExternalModule } from "@rspack/binding";
|
package/dist/FileSystem.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NodeFsStats, ThreadsafeNodeFS } from "
|
|
1
|
+
import type { NodeFsStats, ThreadsafeNodeFS } from "@rspack/binding";
|
|
2
2
|
import { type InputFileSystem, type IntermediateFileSystem, type OutputFileSystem } from "./util/fs";
|
|
3
3
|
declare class ThreadsafeInputNodeFS implements ThreadsafeNodeFS {
|
|
4
4
|
writeFile: (name: string, content: Buffer) => Promise<void>;
|
package/dist/Module.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import binding, { type AssetInfo } from "
|
|
1
|
+
import binding, { type AssetInfo } from "@rspack/binding";
|
|
2
2
|
import type { Source } from "webpack-sources";
|
|
3
3
|
import type { ResourceData } from "./Resolver";
|
|
4
4
|
import "./BuildInfo";
|
|
@@ -32,11 +32,11 @@ export declare class ContextModuleFactoryAfterResolveData {
|
|
|
32
32
|
private constructor();
|
|
33
33
|
}
|
|
34
34
|
export type ContextModuleFactoryAfterResolveResult = false | ContextModuleFactoryAfterResolveData;
|
|
35
|
-
declare module "
|
|
35
|
+
declare module "@rspack/binding" {
|
|
36
36
|
interface Module {
|
|
37
37
|
identifier(): string;
|
|
38
38
|
originalSource(): Source | null;
|
|
39
39
|
emitFile(filename: string, source: Source, assetInfo?: AssetInfo): void;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
export { Module } from "
|
|
42
|
+
export { Module } from "@rspack/binding";
|
package/dist/ModuleGraph.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Dependency, JsModuleGraph, ModuleGraphConnection } from "
|
|
1
|
+
import type { Dependency, JsModuleGraph, ModuleGraphConnection } from "@rspack/binding";
|
|
2
2
|
import { ExportsInfo } from "./ExportsInfo";
|
|
3
3
|
import type { Module } from "./Module";
|
|
4
4
|
export default class ModuleGraph {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import binding from "
|
|
1
|
+
import binding from "@rspack/binding";
|
|
2
2
|
import type Watchpack from "watchpack";
|
|
3
3
|
import type { FileSystemInfoEntry, InputFileSystem, Watcher, WatchFileSystem } from "./util/fs";
|
|
4
4
|
export default class NativeWatchFileSystem implements WatchFileSystem {
|
package/dist/NormalModule.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ export interface NormalModuleCompilationHooks {
|
|
|
7
7
|
readResourceForScheme: any;
|
|
8
8
|
readResource: liteTapable.HookMap<liteTapable.AsyncSeriesBailHook<[LoaderContext], string | Buffer>>;
|
|
9
9
|
}
|
|
10
|
-
declare module "
|
|
10
|
+
declare module "@rspack/binding" {
|
|
11
11
|
interface NormalModuleConstructor {
|
|
12
12
|
getCompilationHooks(compilation: Compilation): NormalModuleCompilationHooks;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
export { NormalModule } from "
|
|
15
|
+
export { NormalModule } from "@rspack/binding";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type binding from "
|
|
1
|
+
import type binding from "@rspack/binding";
|
|
2
2
|
import * as liteTapable from "@rspack/lite-tapable";
|
|
3
3
|
import type { ResolveData, ResourceDataWithData } from "./Module";
|
|
4
4
|
import type { ResolveOptionsWithDependencyType, ResolverFactory } from "./ResolverFactory";
|
package/dist/Resolver.d.ts
CHANGED
package/dist/RspackError.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type binding from "
|
|
2
|
-
export type { RspackError } from "
|
|
1
|
+
import type binding from "@rspack/binding";
|
|
2
|
+
export type { RspackError } from "@rspack/binding";
|
|
3
3
|
export type RspackSeverity = binding.JsRspackSeverity;
|
|
4
4
|
export declare class NonErrorEmittedError extends Error {
|
|
5
5
|
constructor(error: Error);
|
package/dist/RuntimeGlobals.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* Copyright (c) JS Foundation and other contributors
|
|
8
8
|
* https://github.com/webpack/webpack/blob/main/LICENSE
|
|
9
9
|
*/
|
|
10
|
-
import type { JsRuntimeGlobals } from "
|
|
10
|
+
import type { JsRuntimeGlobals } from "@rspack/binding";
|
|
11
11
|
export declare function __from_binding_runtime_globals(runtimeRequirements: JsRuntimeGlobals): Set<string>;
|
|
12
12
|
export declare function __to_binding_runtime_globals(runtimeRequirements: Set<string>): JsRuntimeGlobals;
|
|
13
13
|
export declare const RuntimeGlobals: {
|
package/dist/RuntimeModule.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare const APIPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const ArrayPushCallbackChunkFormatPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const AssetModulesPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const AsyncWebAssemblyModulesPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Chunk } from "
|
|
1
|
+
import { type Chunk } from "@rspack/binding";
|
|
2
2
|
export type Rule = string | RegExp;
|
|
3
3
|
export type Rules = Rule[] | Rule;
|
|
4
4
|
export type BannerFunction = (args: {
|
|
@@ -34,7 +34,7 @@ export declare const BannerPlugin: {
|
|
|
34
34
|
name: string;
|
|
35
35
|
_args: [args: BannerPluginArgument];
|
|
36
36
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
37
|
-
raw(compiler: import("..").Compiler): import("
|
|
37
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
38
38
|
apply(compiler: import("..").Compiler): void;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
@@ -8,7 +8,7 @@ export declare const BundlerInfoRspackPlugin: {
|
|
|
8
8
|
name: string;
|
|
9
9
|
_args: [options: BundleInfoOptions];
|
|
10
10
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
11
|
-
raw(compiler: import("..").Compiler): import("
|
|
11
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
12
12
|
apply(compiler: import("..").Compiler): void;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -3,7 +3,7 @@ export declare const ChunkPrefetchPreloadPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BuiltinPlugin, BuiltinPluginName } from "
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
|
|
2
2
|
import type { Compilation } from "../Compilation";
|
|
3
3
|
import type { Compiler } from "../Compiler";
|
|
4
4
|
import type { Module } from "../Module";
|
|
@@ -3,7 +3,7 @@ export declare const CommonJsChunkFormatPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const ContextReplacementPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [resourceRegExp: RegExp, newContentResource?: any, newContentRecursive?: any, newContentRegExp?: any];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type RawCopyPattern } from "
|
|
1
|
+
import { type RawCopyPattern } from "@rspack/binding";
|
|
2
2
|
export type CopyRspackPluginOptions = {
|
|
3
3
|
/** An array of objects that describe the copy operations to be performed. */
|
|
4
4
|
patterns: (string | (Pick<RawCopyPattern, "from"> & Partial<Omit<RawCopyPattern, "from">>))[];
|
|
@@ -8,7 +8,7 @@ export declare const CopyRspackPlugin: {
|
|
|
8
8
|
name: string;
|
|
9
9
|
_args: [copy: CopyRspackPluginOptions];
|
|
10
10
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
11
|
-
raw(compiler: import("..").Compiler): import("
|
|
11
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
12
12
|
apply(compiler: import("..").Compiler): void;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -3,7 +3,7 @@ export declare const CssModulesPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const DataUriPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -4,7 +4,7 @@ export declare const DefinePlugin: {
|
|
|
4
4
|
name: string;
|
|
5
5
|
_args: [define: DefinePluginOptions];
|
|
6
6
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
7
|
-
raw(compiler: import("..").Compiler): import("
|
|
7
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("..").Compiler): void;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BuiltinPlugin, BuiltinPluginName } from "
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
|
|
2
2
|
import type { Compiler } from "../Compiler";
|
|
3
3
|
import { RspackBuiltinPlugin } from "./base";
|
|
4
4
|
export declare class DeterministicChunkIdsPlugin extends RspackBuiltinPlugin {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BuiltinPlugin, BuiltinPluginName } from "
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
|
|
2
2
|
import type { Compiler } from "../Compiler";
|
|
3
3
|
import { RspackBuiltinPlugin } from "./base";
|
|
4
4
|
export declare class DeterministicModuleIdsPlugin extends RspackBuiltinPlugin {
|
|
@@ -6,7 +6,7 @@ export declare const DllEntryPlugin: {
|
|
|
6
6
|
name: string;
|
|
7
7
|
_args: [context: string, entries: string[], options: DllEntryPluginOptions];
|
|
8
8
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
9
|
-
raw(compiler: import("..").Compiler): import("
|
|
9
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
10
10
|
apply(compiler: import("..").Compiler): void;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type RawDllReferenceAgencyPluginOptions } from "
|
|
1
|
+
import { type RawDllReferenceAgencyPluginOptions } from "@rspack/binding";
|
|
2
2
|
export type DllReferenceAgencyPluginOptions = RawDllReferenceAgencyPluginOptions;
|
|
3
3
|
export declare const DllReferenceAgencyPlugin: {
|
|
4
4
|
new (options: RawDllReferenceAgencyPluginOptions): {
|
|
5
5
|
name: string;
|
|
6
6
|
_args: [options: RawDllReferenceAgencyPluginOptions];
|
|
7
7
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
8
|
-
raw(compiler: import("..").Compiler): import("
|
|
8
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
9
9
|
apply(compiler: import("..").Compiler): void;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BuiltinPlugin, BuiltinPluginName } from "
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
|
|
2
2
|
import type { Compiler } from "../Compiler";
|
|
3
3
|
import type { EntryDynamicNormalized } from "../config";
|
|
4
4
|
import { RspackBuiltinPlugin } from "./base";
|
|
@@ -3,7 +3,7 @@ export declare const ElectronTargetPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [context?: string | undefined];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -13,7 +13,7 @@ declare const EnableChunkLoadingPluginInner: {
|
|
|
13
13
|
name: string;
|
|
14
14
|
_args: [type: string];
|
|
15
15
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
16
|
-
raw(compiler: Compiler): import("
|
|
16
|
+
raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
17
17
|
apply(compiler: Compiler): void;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BuiltinPlugin, BuiltinPluginName } from "
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
|
|
2
2
|
import type { Compiler, LibraryType } from "..";
|
|
3
3
|
import { RspackBuiltinPlugin } from "./base";
|
|
4
4
|
export declare class EnableLibraryPlugin extends RspackBuiltinPlugin {
|
|
@@ -3,7 +3,7 @@ export declare const EnableWasmLoadingPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [type: string];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const EnsureChunkConditionsPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntryDependency, type JsEntryOptions } from "
|
|
1
|
+
import { EntryDependency, type JsEntryOptions } from "@rspack/binding";
|
|
2
2
|
import type { EntryDescriptionNormalized } from "../config";
|
|
3
3
|
/**
|
|
4
4
|
* Options for the `EntryPlugin`.
|
|
@@ -20,7 +20,7 @@ declare const OriginEntryPlugin: {
|
|
|
20
20
|
name: string;
|
|
21
21
|
_args: [context: string, entry: string, options?: string | EntryOptions | undefined];
|
|
22
22
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
23
|
-
raw(compiler: import("..").Compiler): import("
|
|
23
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
24
24
|
apply(compiler: import("..").Compiler): void;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type RawEvalDevToolModulePluginOptions } from "
|
|
1
|
+
import { type RawEvalDevToolModulePluginOptions } from "@rspack/binding";
|
|
2
2
|
export type { RawEvalDevToolModulePluginOptions as EvalDevToolModulePluginOptions };
|
|
3
3
|
export declare const EvalDevToolModulePlugin: {
|
|
4
4
|
new (options: RawEvalDevToolModulePluginOptions): {
|
|
5
5
|
name: string;
|
|
6
6
|
_args: [options: RawEvalDevToolModulePluginOptions];
|
|
7
7
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
8
|
-
raw(compiler: import("..").Compiler): import("
|
|
8
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
9
9
|
apply(compiler: import("..").Compiler): void;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type SourceMapDevToolPluginOptions } from "
|
|
1
|
+
import { type SourceMapDevToolPluginOptions } from "@rspack/binding";
|
|
2
2
|
export declare const EvalSourceMapDevToolPlugin: {
|
|
3
3
|
new (options: SourceMapDevToolPluginOptions): {
|
|
4
4
|
name: string;
|
|
5
5
|
_args: [options: SourceMapDevToolPluginOptions];
|
|
6
6
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
7
|
-
raw(compiler: import("..").Compiler): import("
|
|
7
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("..").Compiler): void;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BuiltinPlugin, BuiltinPluginName } from "
|
|
1
|
+
import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
|
|
2
2
|
import type { Externals } from "..";
|
|
3
3
|
import { RspackBuiltinPlugin } from "./base";
|
|
4
4
|
export declare class ExternalsPlugin extends RspackBuiltinPlugin {
|
|
@@ -3,7 +3,7 @@ export declare const FetchCompileAsyncWasmPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const FileUriPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const FlagAllModulesAsUsedPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [explanation: string];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const FlagDependencyExportsPlugin: {
|
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
5
|
affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
|
6
|
-
raw(compiler: import("..").Compiler): import("
|
|
6
|
+
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|