@rspack/core 1.4.7 → 1.4.8
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/Compilation.d.ts +7 -7
- package/dist/Compiler.d.ts +10 -10
- package/dist/MultiCompiler.d.ts +1 -1
- package/dist/NativeWatchFileSystem.d.ts +1 -1
- package/dist/NormalModule.d.ts +1 -1
- package/dist/ResolverFactory.d.ts +1 -1
- package/dist/builtin-loader/swc/index.d.ts +3 -3
- 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 +1 -1
- package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.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 +1 -1
- 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/DllEntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DllReferenceAgencyPlugin.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/EnableWasmLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +1 -1
- package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.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/HttpExternalsRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/IgnorePlugin.d.ts +1 -1
- package/dist/builtin-plugin/InferAsyncModulesPlugin.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/MergeDuplicateChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleChunkFormatPlugin.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/NoEmitOnErrorsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ProgressPlugin.d.ts +1 -1
- 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 +1 -1
- package/dist/builtin-plugin/RslibPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RstestPlugin.d.ts +1 -1
- package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +1 -1
- 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 +1 -1
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -1
- package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/base.d.ts +2 -2
- package/dist/builtin-plugin/html-plugin/index.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/plugin.d.ts +1 -1
- package/dist/builtin-plugin/index.d.ts +20 -20
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +1 -1
- package/dist/config/adapterRuleUse.d.ts +2 -2
- package/dist/config/devServer.d.ts +1 -1
- package/dist/config/normalization.d.ts +2 -2
- package/dist/config/types.d.ts +3 -3
- 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 +22 -62
- package/dist/index.js +6786 -6789
- package/dist/lib/Cache.d.ts +1 -1
- package/dist/lib/CacheFacade.d.ts +1 -1
- package/dist/loader-runner/utils.d.ts +1 -1
- package/dist/node/NodeWatchFileSystem.d.ts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/schema/config.d.ts +49 -49
- package/dist/schema/plugins.d.ts +7 -7
- 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/hot/lazy-compilation-node.js +0 -2
- package/hot/lazy-compilation-web.js +0 -2
- package/package.json +2 -2
package/dist/Compilation.d.ts
CHANGED
@@ -7,16 +7,20 @@
|
|
7
7
|
* Copyright (c) JS Foundation and other contributors
|
8
8
|
* https://github.com/webpack/webpack/blob/main/LICENSE
|
9
9
|
*/
|
10
|
-
import * as binding from "@rspack/binding";
|
11
10
|
import type { AssetInfo, ChunkGroup, Dependency, ExternalObject, JsCompilation, JsRuntimeModule } from "@rspack/binding";
|
11
|
+
import * as binding from "@rspack/binding";
|
12
12
|
export type { AssetInfo } from "@rspack/binding";
|
13
13
|
import * as liteTapable from "@rspack/lite-tapable";
|
14
14
|
import type { Source } from "../compiled/webpack-sources";
|
15
|
+
import type { EntryOptions, EntryPlugin } from "./builtin-plugin";
|
15
16
|
import type { Chunk } from "./Chunk";
|
16
17
|
import type { ChunkGraph } from "./ChunkGraph";
|
17
18
|
import type { Compiler } from "./Compiler";
|
18
19
|
import type { ContextModuleFactory } from "./ContextModuleFactory";
|
20
|
+
import type { OutputNormalized, RspackOptionsNormalized, RspackPluginInstance, StatsOptions, StatsValue } from "./config";
|
19
21
|
import type { Entrypoint } from "./Entrypoint";
|
22
|
+
import WebpackError from "./lib/WebpackError";
|
23
|
+
import { Logger } from "./logging/Logger";
|
20
24
|
import type { Module } from "./Module";
|
21
25
|
import ModuleGraph from "./ModuleGraph";
|
22
26
|
import type { NormalModuleCompilationHooks } from "./NormalModule";
|
@@ -25,10 +29,6 @@ import type { ResolverFactory } from "./ResolverFactory";
|
|
25
29
|
import type { RspackError } from "./RspackError";
|
26
30
|
import { RuntimeModule } from "./RuntimeModule";
|
27
31
|
import { Stats, type StatsAsset, type StatsError, type StatsModule } from "./Stats";
|
28
|
-
import type { EntryOptions, EntryPlugin } from "./builtin-plugin";
|
29
|
-
import type { OutputNormalized, RspackOptionsNormalized, RspackPluginInstance, StatsOptions, StatsValue } from "./config";
|
30
|
-
import WebpackError from "./lib/WebpackError";
|
31
|
-
import { Logger } from "./logging/Logger";
|
32
32
|
import { StatsFactory } from "./stats/StatsFactory";
|
33
33
|
import { StatsPrinter } from "./stats/StatsPrinter";
|
34
34
|
import type { InputFileSystem } from "./util/fs";
|
@@ -228,7 +228,7 @@ export declare class Compilation {
|
|
228
228
|
*
|
229
229
|
* Note: This is a proxy for webpack internal API, only method `get`, `keys`, `values` and `entries` are supported now.
|
230
230
|
*/
|
231
|
-
get namedChunkGroups(): ReadonlyMap<string, Readonly<
|
231
|
+
get namedChunkGroups(): ReadonlyMap<string, Readonly<ChunkGroup>>;
|
232
232
|
get modules(): ReadonlySet<Module>;
|
233
233
|
get builtModules(): ReadonlySet<Module>;
|
234
234
|
get chunks(): ReadonlySet<Chunk>;
|
@@ -373,7 +373,7 @@ export declare class Compilation {
|
|
373
373
|
*
|
374
374
|
* @internal
|
375
375
|
*/
|
376
|
-
__internal_getInner():
|
376
|
+
__internal_getInner(): JsCompilation;
|
377
377
|
get __internal__shutdown(): boolean;
|
378
378
|
set __internal__shutdown(shutdown: boolean);
|
379
379
|
seal(): void;
|
package/dist/Compiler.d.ts
CHANGED
@@ -9,24 +9,24 @@
|
|
9
9
|
*/
|
10
10
|
import type * as binding from "@rspack/binding";
|
11
11
|
import * as liteTapable from "@rspack/lite-tapable";
|
12
|
-
import
|
13
|
-
import
|
12
|
+
import type Watchpack from "../compiled/watchpack";
|
13
|
+
import type { Source } from "../compiled/webpack-sources";
|
14
14
|
import type { Chunk } from "./Chunk";
|
15
|
+
import type { CompilationParams } from "./Compilation";
|
15
16
|
import { Compilation } from "./Compilation";
|
16
17
|
import { ContextModuleFactory } from "./ContextModuleFactory";
|
18
|
+
import type { EntryNormalized, OutputNormalized, RspackOptionsNormalized, RspackPluginInstance } from "./config";
|
19
|
+
import type { FileSystemInfoEntry } from "./FileSystemInfo";
|
20
|
+
import { rspack } from "./index";
|
21
|
+
import Cache from "./lib/Cache";
|
22
|
+
import CacheFacade from "./lib/CacheFacade";
|
23
|
+
import { Logger } from "./logging/Logger";
|
17
24
|
import { NormalModuleFactory } from "./NormalModuleFactory";
|
18
25
|
import { ResolverFactory } from "./ResolverFactory";
|
19
26
|
import { RuleSetCompiler } from "./RuleSetCompiler";
|
20
27
|
import { Stats } from "./Stats";
|
21
|
-
import { Watching } from "./Watching";
|
22
|
-
import { rspack } from "./index";
|
23
|
-
import { Logger } from "./logging/Logger";
|
24
|
-
import type Watchpack from "../compiled/watchpack";
|
25
|
-
import type { Source } from "../compiled/webpack-sources";
|
26
|
-
import type { CompilationParams } from "./Compilation";
|
27
|
-
import type { FileSystemInfoEntry } from "./FileSystemInfo";
|
28
|
-
import type { EntryNormalized, OutputNormalized, RspackOptionsNormalized, RspackPluginInstance } from "./config";
|
29
28
|
import type { InputFileSystem, IntermediateFileSystem, OutputFileSystem, WatchFileSystem } from "./util/fs";
|
29
|
+
import { Watching } from "./Watching";
|
30
30
|
export interface AssetEmittedInfo {
|
31
31
|
content: Buffer;
|
32
32
|
source: Source;
|
package/dist/MultiCompiler.d.ts
CHANGED
@@ -9,9 +9,9 @@
|
|
9
9
|
*/
|
10
10
|
import * as liteTapable from "@rspack/lite-tapable";
|
11
11
|
import type { CompilationParams, Compiler, RspackOptions } from ".";
|
12
|
+
import type { WatchOptions } from "./config";
|
12
13
|
import MultiStats from "./MultiStats";
|
13
14
|
import MultiWatching from "./MultiWatching";
|
14
|
-
import type { WatchOptions } from "./config";
|
15
15
|
import type { InputFileSystem, IntermediateFileSystem, WatchFileSystem } from "./util/fs";
|
16
16
|
export interface MultiCompilerOptions {
|
17
17
|
/**
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as binding from "@rspack/binding";
|
2
2
|
import type Watchpack from "../compiled/watchpack";
|
3
|
-
import type { FileSystemInfoEntry,
|
3
|
+
import type { FileSystemInfoEntry, Watcher, WatchFileSystem } from "./util/fs";
|
4
4
|
export default class NativeWatchFileSystem implements WatchFileSystem {
|
5
5
|
#private;
|
6
6
|
watch(files: Iterable<string> & {
|
package/dist/NormalModule.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as liteTapable from "@rspack/lite-tapable";
|
2
2
|
import type { Compilation } from "./Compilation";
|
3
|
-
import type { Module } from "./Module";
|
4
3
|
import type { LoaderContext } from "./config";
|
4
|
+
import type { Module } from "./Module";
|
5
5
|
export interface NormalModuleCompilationHooks {
|
6
6
|
loader: liteTapable.SyncHook<[LoaderContext, Module]>;
|
7
7
|
readResourceForScheme: any;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as binding from "@rspack/binding";
|
2
|
-
import { Resolver } from "./Resolver";
|
3
2
|
import { type Resolve } from "./config";
|
3
|
+
import { Resolver } from "./Resolver";
|
4
4
|
type ResolveOptionsWithDependencyType = Resolve & {
|
5
5
|
dependencyCategory?: string;
|
6
6
|
resolveToContext?: boolean;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export { resolvePluginImport } from "./pluginImport";
|
2
|
-
export type { PluginImportOptions } from "./pluginImport";
|
3
|
-
export { resolveCollectTypeScriptInfo } from "./collectTypeScriptInfo";
|
4
1
|
export type { CollectTypeScriptInfoOptions } from "./collectTypeScriptInfo";
|
2
|
+
export { resolveCollectTypeScriptInfo } from "./collectTypeScriptInfo";
|
3
|
+
export type { PluginImportOptions } from "./pluginImport";
|
4
|
+
export { resolvePluginImport } from "./pluginImport";
|
5
5
|
export type { SwcLoaderEnvConfig, SwcLoaderEsParserConfig, SwcLoaderJscConfig, SwcLoaderModuleConfig, SwcLoaderOptions, SwcLoaderParserConfig, SwcLoaderTransformConfig, SwcLoaderTsParserConfig } from "./types";
|
@@ -2,7 +2,7 @@ export declare const APIPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const ArrayPushCallbackChunkFormatPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const AssetModulesPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const AsyncWebAssemblyModulesPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -33,7 +33,7 @@ export declare const BannerPlugin: {
|
|
33
33
|
new (args: BannerPluginArgument): {
|
34
34
|
name: string;
|
35
35
|
_args: [args: BannerPluginArgument];
|
36
|
-
affectedHooks: "done" | "compilation" | "
|
36
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
37
37
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
38
38
|
apply(compiler: import("..").Compiler): void;
|
39
39
|
};
|
@@ -7,7 +7,7 @@ export declare const BundlerInfoRspackPlugin: {
|
|
7
7
|
new (options: BundleInfoOptions): {
|
8
8
|
name: string;
|
9
9
|
_args: [options: BundleInfoOptions];
|
10
|
-
affectedHooks: "done" | "compilation" | "
|
10
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
11
11
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
12
12
|
apply(compiler: import("..").Compiler): void;
|
13
13
|
};
|
@@ -2,7 +2,7 @@ export declare const ChunkPrefetchPreloadPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const CommonJsChunkFormatPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const ContextReplacementPlugin: {
|
|
2
2
|
new (resourceRegExp: RegExp, newContentResource?: any, newContentRecursive?: any, newContentRegExp?: any): {
|
3
3
|
name: string;
|
4
4
|
_args: [resourceRegExp: RegExp, newContentResource?: any, newContentRecursive?: any, newContentRegExp?: any];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -7,7 +7,7 @@ export declare const CopyRspackPlugin: {
|
|
7
7
|
new (copy: CopyRspackPluginOptions): {
|
8
8
|
name: string;
|
9
9
|
_args: [copy: CopyRspackPluginOptions];
|
10
|
-
affectedHooks: "done" | "compilation" | "
|
10
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
11
11
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
12
12
|
apply(compiler: import("..").Compiler): void;
|
13
13
|
};
|
@@ -14,7 +14,7 @@ export declare const CssChunkingPlugin: {
|
|
14
14
|
new (options?: CssChunkingPluginOptions | undefined): {
|
15
15
|
name: string;
|
16
16
|
_args: [options?: CssChunkingPluginOptions | undefined];
|
17
|
-
affectedHooks: "done" | "compilation" | "
|
17
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
18
18
|
raw(compiler: import("..").Compiler): binding.BuiltinPlugin;
|
19
19
|
apply(compiler: import("..").Compiler): void;
|
20
20
|
};
|
@@ -2,7 +2,7 @@ export declare const CssModulesPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const DataUriPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -3,7 +3,7 @@ export declare const DefinePlugin: {
|
|
3
3
|
new (define: DefinePluginOptions): {
|
4
4
|
name: string;
|
5
5
|
_args: [define: DefinePluginOptions];
|
6
|
-
affectedHooks: "done" | "compilation" | "
|
6
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
7
7
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
8
8
|
apply(compiler: import("..").Compiler): void;
|
9
9
|
};
|
@@ -5,7 +5,7 @@ export declare const DllEntryPlugin: {
|
|
5
5
|
new (context: string, entries: string[], options: DllEntryPluginOptions): {
|
6
6
|
name: string;
|
7
7
|
_args: [context: string, entries: string[], options: DllEntryPluginOptions];
|
8
|
-
affectedHooks: "done" | "compilation" | "
|
8
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
9
9
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
10
10
|
apply(compiler: import("..").Compiler): void;
|
11
11
|
};
|
@@ -4,7 +4,7 @@ export declare const DllReferenceAgencyPlugin: {
|
|
4
4
|
new (options: RawDllReferenceAgencyPluginOptions): {
|
5
5
|
name: string;
|
6
6
|
_args: [options: RawDllReferenceAgencyPluginOptions];
|
7
|
-
affectedHooks: "done" | "compilation" | "
|
7
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
8
8
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
9
9
|
apply(compiler: import("..").Compiler): void;
|
10
10
|
};
|
@@ -2,7 +2,7 @@ export declare const ElectronTargetPlugin: {
|
|
2
2
|
new (context?: string | undefined): {
|
3
3
|
name: string;
|
4
4
|
_args: [context?: string | undefined];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -12,7 +12,7 @@ declare const EnableChunkLoadingPluginInner: {
|
|
12
12
|
new (type: string): {
|
13
13
|
name: string;
|
14
14
|
_args: [type: string];
|
15
|
-
affectedHooks: "done" | "compilation" | "
|
15
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
16
16
|
raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
|
17
17
|
apply(compiler: Compiler): void;
|
18
18
|
};
|
@@ -2,7 +2,7 @@ export declare const EnableWasmLoadingPlugin: {
|
|
2
2
|
new (type: string): {
|
3
3
|
name: string;
|
4
4
|
_args: [type: string];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const EnsureChunkConditionsPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -19,7 +19,7 @@ declare const OriginEntryPlugin: {
|
|
19
19
|
new (context: string, entry: string, options?: string | EntryOptions | undefined): {
|
20
20
|
name: string;
|
21
21
|
_args: [context: string, entry: string, options?: string | EntryOptions | undefined];
|
22
|
-
affectedHooks: "done" | "compilation" | "
|
22
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
23
23
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
24
24
|
apply(compiler: import("..").Compiler): void;
|
25
25
|
};
|
@@ -4,7 +4,7 @@ export declare const EvalDevToolModulePlugin: {
|
|
4
4
|
new (options: RawEvalDevToolModulePluginOptions): {
|
5
5
|
name: string;
|
6
6
|
_args: [options: RawEvalDevToolModulePluginOptions];
|
7
|
-
affectedHooks: "done" | "compilation" | "
|
7
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
8
8
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
9
9
|
apply(compiler: import("..").Compiler): void;
|
10
10
|
};
|
@@ -3,7 +3,7 @@ export declare const EvalSourceMapDevToolPlugin: {
|
|
3
3
|
new (options: SourceMapDevToolPluginOptions): {
|
4
4
|
name: string;
|
5
5
|
_args: [options: SourceMapDevToolPluginOptions];
|
6
|
-
affectedHooks: "done" | "compilation" | "
|
6
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
7
7
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
8
8
|
apply(compiler: import("..").Compiler): void;
|
9
9
|
};
|
@@ -2,7 +2,7 @@ export declare const FetchCompileAsyncWasmPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const FileUriPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const FlagAllModulesAsUsedPlugin: {
|
|
2
2
|
new (explanation: string): {
|
3
3
|
name: string;
|
4
4
|
_args: [explanation: string];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const FlagDependencyExportsPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -2,7 +2,7 @@ export declare const HttpExternalsRspackPlugin: {
|
|
2
2
|
new (css: boolean, webAsync: boolean): {
|
3
3
|
name: string;
|
4
4
|
_args: [css: boolean, webAsync: boolean];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -12,7 +12,7 @@ export declare const IgnorePlugin: {
|
|
12
12
|
new (options: IgnorePluginOptions): {
|
13
13
|
name: string;
|
14
14
|
_args: [options: IgnorePluginOptions];
|
15
|
-
affectedHooks: "done" | "compilation" | "
|
15
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
16
16
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
17
17
|
apply(compiler: import("..").Compiler): void;
|
18
18
|
};
|
@@ -2,7 +2,7 @@ export declare const InferAsyncModulesPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -3,7 +3,7 @@ export declare const JsLoaderRspackPlugin: {
|
|
3
3
|
new (compiler: Compiler): {
|
4
4
|
name: string;
|
5
5
|
_args: [compiler: Compiler];
|
6
|
-
affectedHooks: "done" | "compilation" | "
|
6
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
7
7
|
raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
|
8
8
|
apply(compiler: Compiler): void;
|
9
9
|
};
|
@@ -2,7 +2,7 @@ export declare const JsonModulesPlugin: {
|
|
2
2
|
new (): {
|
3
3
|
name: string;
|
4
4
|
_args: [];
|
5
|
-
affectedHooks: "done" | "compilation" | "
|
5
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
6
6
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
7
7
|
apply(compiler: import("..").Compiler): void;
|
8
8
|
};
|
@@ -10,7 +10,7 @@ export declare const LibManifestPlugin: {
|
|
10
10
|
new (options: LibManifestPluginOptions): {
|
11
11
|
name: string;
|
12
12
|
_args: [options: LibManifestPluginOptions];
|
13
|
-
affectedHooks: "done" | "compilation" | "
|
13
|
+
affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
|
14
14
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
15
15
|
apply(compiler: import("..").Compiler): void;
|
16
16
|
};
|