@rspack/core 1.4.7 → 1.4.9
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 +1 -1
- package/dist/Chunk.d.ts +1 -0
- package/dist/ChunkGraph.d.ts +1 -1
- package/dist/Compilation.d.ts +7 -7
- package/dist/Compiler.d.ts +11 -11
- package/dist/Module.d.ts +1 -1
- package/dist/MultiCompiler.d.ts +1 -1
- package/dist/NativeWatchFileSystem.d.ts +2 -2
- package/dist/NormalModule.d.ts +1 -1
- package/dist/NormalModuleFactory.d.ts +1 -1
- package/dist/Resolver.d.ts +8 -3
- package/dist/ResolverFactory.d.ts +2 -2
- package/dist/RspackError.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 +2 -2
- 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 +2 -2
- 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 +2 -1
- package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/base.d.ts +3 -3
- 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 +3 -3
- 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 +6 -3
- package/dist/container/index.d.ts +4 -0
- package/dist/cssExtractLoader.js +2 -2
- package/dist/exports.d.ts +22 -62
- package/dist/index.js +2344 -2340
- 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/dist/stats/statsFactoryUtils.d.ts +1 -1
- package/dist/taps/compilation.d.ts +1 -1
- package/dist/taps/types.d.ts +1 -1
- package/hot/lazy-compilation-node.js +0 -2
- package/hot/lazy-compilation-web.js +0 -2
- package/package.json +4 -4
@@ -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
|
};
|
@@ -25,7 +25,7 @@ export declare const LightningCssMinimizerRspackPlugin: {
|
|
25
25
|
new (options?: LightningCssMinimizerRspackPluginOptions | undefined): {
|
26
26
|
name: string;
|
27
27
|
_args: [options?: LightningCssMinimizerRspackPluginOptions | undefined];
|
28
|
-
affectedHooks: "done" | "compilation" | "
|
28
|
+
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;
|
29
29
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
30
30
|
apply(compiler: import("..").Compiler): void;
|
31
31
|
};
|
@@ -7,7 +7,7 @@ export declare const LimitChunkCountPlugin: {
|
|
7
7
|
new (options: LimitChunkCountOptions): {
|
8
8
|
name: string;
|
9
9
|
_args: [options: LimitChunkCountOptions];
|
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 MergeDuplicateChunksPlugin: {
|
|
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 ModuleChunkFormatPlugin: {
|
|
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 ModuleInfoHeaderPlugin: {
|
|
2
2
|
new (verbose: any): {
|
3
3
|
name: string;
|
4
4
|
_args: [verbose: 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
|
};
|
@@ -2,7 +2,7 @@ export declare const NamedChunkIdsPlugin: {
|
|
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 NamedModuleIdsPlugin: {
|
|
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 NoEmitOnErrorsPlugin: {
|
|
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 NodeTargetPlugin: {
|
|
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 OccurrenceChunkIdsPlugin: {
|
|
3
3
|
new (options?: RawOccurrenceChunkIdsPluginOptions | undefined): {
|
4
4
|
name: string;
|
5
5
|
_args: [options?: RawOccurrenceChunkIdsPluginOptions | undefined];
|
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
|
};
|
@@ -4,7 +4,7 @@ export declare const ProgressPlugin: {
|
|
4
4
|
new (progress?: ProgressPluginArgument): {
|
5
5
|
name: string;
|
6
6
|
_args: [progress?: ProgressPluginArgument];
|
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 ProvidePlugin: {
|
|
3
3
|
new (provide: ProvidePluginOptions): {
|
4
4
|
name: string;
|
5
5
|
_args: [provide: ProvidePluginOptions];
|
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 RealContentHashPlugin: {
|
|
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 RemoveDuplicateModulesPlugin: {
|
|
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 RemoveEmptyChunksPlugin: {
|
|
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
|
};
|
@@ -14,7 +14,7 @@ declare const RsdoctorPluginImpl: {
|
|
14
14
|
new (c?: RsdoctorPluginOptions | undefined): {
|
15
15
|
name: string;
|
16
16
|
_args: [c?: RsdoctorPluginOptions | 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: Compiler): import("@rspack/binding").BuiltinPlugin;
|
19
19
|
apply(compiler: Compiler): void;
|
20
20
|
};
|
@@ -4,7 +4,7 @@ export declare const RslibPlugin: {
|
|
4
4
|
new (rslib: RawRslibPluginOptions): {
|
5
5
|
name: string;
|
6
6
|
_args: [rslib: RawRslibPluginOptions];
|
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
|
};
|
@@ -4,7 +4,7 @@ export declare const RstestPlugin: {
|
|
4
4
|
new (rstest: RawRstestPluginOptions): {
|
5
5
|
name: string;
|
6
6
|
_args: [rstest: RawRstestPluginOptions];
|
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
|
};
|
@@ -4,7 +4,7 @@ export declare const RuntimeChunkPlugin: {
|
|
4
4
|
new (options: RawRuntimeChunkOptions): {
|
5
5
|
name: string;
|
6
6
|
_args: [options: RawRuntimeChunkOptions];
|
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
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import binding from "@rspack/binding";
|
2
2
|
import * as liteTapable from "@rspack/lite-tapable";
|
3
3
|
import type { Chunk } from "../Chunk";
|
4
4
|
import { type Compilation } from "../Compilation";
|
@@ -7,7 +7,7 @@ export declare const RuntimePluginImpl: {
|
|
7
7
|
new (): {
|
8
8
|
name: string;
|
9
9
|
_args: [];
|
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): binding.BuiltinPlugin;
|
12
12
|
apply(compiler: import("..").Compiler): void;
|
13
13
|
};
|
@@ -2,7 +2,7 @@ export declare const SideEffectsFlagPlugin: {
|
|
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
|
};
|
@@ -12,7 +12,7 @@ export declare const SizeLimitsPlugin: {
|
|
12
12
|
maxAssetSize?: number;
|
13
13
|
maxEntrypointSize?: number;
|
14
14
|
}];
|
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
|
};
|
@@ -4,7 +4,7 @@ export declare const SourceMapDevToolPlugin: {
|
|
4
4
|
new (options: SourceMapDevToolPluginOptions): {
|
5
5
|
name: string;
|
6
6
|
_args: [options: SourceMapDevToolPluginOptions];
|
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
|
};
|
@@ -20,7 +20,7 @@ declare const NativeSubresourceIntegrityPlugin: {
|
|
20
20
|
new (options: NativeSubresourceIntegrityPluginOptions): {
|
21
21
|
name: string;
|
22
22
|
_args: [options: NativeSubresourceIntegrityPluginOptions];
|
23
|
-
affectedHooks: "done" | "compilation" | "
|
23
|
+
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;
|
24
24
|
raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
|
25
25
|
apply(compiler: Compiler): void;
|
26
26
|
};
|
@@ -13,6 +13,7 @@ export type SwcJsMinimizerRspackPluginOptions = {
|
|
13
13
|
extractComments?: ExtractCommentsOptions | undefined;
|
14
14
|
minimizerOptions?: {
|
15
15
|
minify?: boolean;
|
16
|
+
ecma?: TerserEcmaVersion;
|
16
17
|
compress?: TerserCompressOptions | boolean;
|
17
18
|
mangle?: TerserMangleOptions | boolean;
|
18
19
|
format?: JsFormatOptions & ToSnakeCaseProperties<JsFormatOptions>;
|
@@ -205,7 +206,7 @@ export declare const SwcJsMinimizerRspackPlugin: {
|
|
205
206
|
new (options?: SwcJsMinimizerRspackPluginOptions | undefined): {
|
206
207
|
name: string;
|
207
208
|
_args: [options?: SwcJsMinimizerRspackPluginOptions | undefined];
|
208
|
-
affectedHooks: "done" | "compilation" | "
|
209
|
+
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;
|
209
210
|
raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
210
211
|
apply(compiler: import("..").Compiler): void;
|
211
212
|
};
|
@@ -2,7 +2,7 @@ export declare const WarnCaseSensitiveModulesPlugin: {
|
|
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
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import binding from "@rspack/binding";
|
2
2
|
import type { Compiler, RspackPluginInstance } from "..";
|
3
3
|
type AffectedHooks = keyof Compiler["hooks"];
|
4
4
|
export declare function canInherentFromParent(affectedHooks?: AffectedHooks): boolean;
|
@@ -14,7 +14,7 @@ export declare function create<T extends any[], R>(name: binding.BuiltinPluginNa
|
|
14
14
|
new (...args: T): {
|
15
15
|
name: string;
|
16
16
|
_args: T;
|
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: Compiler): binding.BuiltinPlugin;
|
19
19
|
apply(compiler: Compiler): void;
|
20
20
|
};
|
@@ -37,7 +37,7 @@ export declare function createNativePlugin<T extends any[], R>(name: CustomPlugi
|
|
37
37
|
new (...args: T): {
|
38
38
|
name: string;
|
39
39
|
_args: T;
|
40
|
-
affectedHooks: "done" | "compilation" | "
|
40
|
+
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;
|
41
41
|
raw(compiler: Compiler): binding.BuiltinPlugin;
|
42
42
|
apply(compiler: Compiler): void;
|
43
43
|
};
|
@@ -7,7 +7,7 @@ declare const HtmlRspackPluginImpl: {
|
|
7
7
|
new (c?: HtmlRspackPluginOptions | undefined): {
|
8
8
|
name: string;
|
9
9
|
_args: [c?: HtmlRspackPluginOptions | undefined];
|
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: Compiler): import("@rspack/binding").BuiltinPlugin;
|
12
12
|
apply(compiler: Compiler): void;
|
13
13
|
};
|
@@ -1,20 +1,24 @@
|
|
1
|
-
export { RspackBuiltinPlugin, createNativePlugin } from "./base";
|
2
1
|
export * from "./APIPlugin";
|
3
2
|
export * from "./ArrayPushCallbackChunkFormatPlugin";
|
4
3
|
export * from "./AssetModulesPlugin";
|
5
4
|
export * from "./AsyncWebAssemblyModulesPlugin";
|
6
5
|
export * from "./BannerPlugin";
|
7
6
|
export * from "./BundlerInfoRspackPlugin";
|
8
|
-
export
|
7
|
+
export { createNativePlugin, RspackBuiltinPlugin } from "./base";
|
9
8
|
export * from "./ChunkPrefetchPreloadPlugin";
|
9
|
+
export * from "./CircularDependencyRspackPlugin";
|
10
10
|
export * from "./CommonJsChunkFormatPlugin";
|
11
|
+
export * from "./ContextReplacementPlugin";
|
11
12
|
export * from "./CopyRspackPlugin";
|
12
|
-
export * from "./
|
13
|
+
export * from "./CssChunkingPlugin";
|
13
14
|
export * from "./CssModulesPlugin";
|
15
|
+
export * from "./css-extract/index";
|
14
16
|
export * from "./DataUriPlugin";
|
15
17
|
export * from "./DefinePlugin";
|
16
18
|
export * from "./DeterministicChunkIdsPlugin";
|
17
19
|
export * from "./DeterministicModuleIdsPlugin";
|
20
|
+
export * from "./DllEntryPlugin";
|
21
|
+
export * from "./DllReferenceAgencyPlugin";
|
18
22
|
export * from "./DynamicEntryPlugin";
|
19
23
|
export * from "./ElectronTargetPlugin";
|
20
24
|
export * from "./EnableChunkLoadingPlugin";
|
@@ -25,56 +29,52 @@ export * from "./EntryPlugin";
|
|
25
29
|
export * from "./EvalDevToolModulePlugin";
|
26
30
|
export * from "./EvalSourceMapDevToolPlugin";
|
27
31
|
export * from "./ExternalsPlugin";
|
32
|
+
export * from "./FetchCompileAsyncWasmPlugin";
|
28
33
|
export * from "./FileUriPlugin";
|
29
34
|
export * from "./FlagDependencyExportsPlugin";
|
30
35
|
export * from "./FlagDependencyUsagePlugin";
|
31
36
|
export * from "./HotModuleReplacementPlugin";
|
32
|
-
export * from "./html-plugin/index";
|
33
37
|
export * from "./HttpExternalsRspackPlugin";
|
34
38
|
export * from "./HttpUriPlugin";
|
39
|
+
export * from "./html-plugin/index";
|
35
40
|
export * from "./IgnorePlugin";
|
36
41
|
export * from "./InferAsyncModulesPlugin";
|
37
42
|
export * from "./JavascriptModulesPlugin";
|
38
43
|
export * from "./JsLoaderRspackPlugin";
|
39
44
|
export * from "./JsonModulesPlugin";
|
40
|
-
export * from "./
|
45
|
+
export * from "./LibManifestPlugin";
|
46
|
+
export * from "./LightningCssMinimizerRspackPlugin";
|
47
|
+
export * from "./LightningCssMinimizerRspackPlugin";
|
41
48
|
export * from "./LimitChunkCountPlugin";
|
49
|
+
export * from "./lazy-compilation/middleware";
|
42
50
|
export * from "./MangleExportsPlugin";
|
43
51
|
export * from "./MergeDuplicateChunksPlugin";
|
44
52
|
export * from "./ModuleChunkFormatPlugin";
|
45
53
|
export * from "./ModuleConcatenationPlugin";
|
54
|
+
export * from "./ModuleInfoHeaderPlugin";
|
46
55
|
export * from "./NamedChunkIdsPlugin";
|
47
56
|
export * from "./NamedModuleIdsPlugin";
|
48
57
|
export * from "./NaturalChunkIdsPlugin";
|
49
58
|
export * from "./NaturalModuleIdsPlugin";
|
50
59
|
export * from "./NodeTargetPlugin";
|
60
|
+
export * from "./NoEmitOnErrorsPlugin";
|
51
61
|
export * from "./OccurrenceChunkIdsPlugin";
|
52
62
|
export * from "./ProgressPlugin";
|
53
|
-
export * from "./RstestPlugin";
|
54
|
-
export * from "./RslibPlugin";
|
55
63
|
export * from "./ProvidePlugin";
|
56
64
|
export * from "./RealContentHashPlugin";
|
65
|
+
export * from "./RemoveDuplicateModulesPlugin";
|
57
66
|
export * from "./RemoveEmptyChunksPlugin";
|
67
|
+
export * from "./RsdoctorPlugin";
|
68
|
+
export * from "./RslibPlugin";
|
69
|
+
export * from "./RstestPlugin";
|
58
70
|
export * from "./RuntimeChunkPlugin";
|
59
71
|
export * from "./RuntimePlugin";
|
60
72
|
export * from "./SideEffectsFlagPlugin";
|
61
73
|
export * from "./SizeLimitsPlugin";
|
62
74
|
export * from "./SourceMapDevToolPlugin";
|
63
75
|
export * from "./SplitChunksPlugin";
|
64
|
-
export * from "./
|
65
|
-
export * from "./RemoveDuplicateModulesPlugin";
|
66
|
-
export * from "./LightningCssMinimizerRspackPlugin";
|
76
|
+
export * from "./SubresourceIntegrityPlugin";
|
67
77
|
export * from "./SwcJsMinimizerPlugin";
|
68
78
|
export * from "./WarnCaseSensitiveModulesPlugin";
|
69
79
|
export * from "./WebWorkerTemplatePlugin";
|
70
80
|
export * from "./WorkerPlugin";
|
71
|
-
export * from "./FetchCompileAsyncWasmPlugin";
|
72
|
-
export * from "./NoEmitOnErrorsPlugin";
|
73
|
-
export * from "./ContextReplacementPlugin";
|
74
|
-
export * from "./LibManifestPlugin";
|
75
|
-
export * from "./DllEntryPlugin";
|
76
|
-
export * from "./DllReferenceAgencyPlugin";
|
77
|
-
export * from "./RsdoctorPlugin";
|
78
|
-
export * from "./SubresourceIntegrityPlugin";
|
79
|
-
export * from "./ModuleInfoHeaderPlugin";
|
80
|
-
export * from "./CssChunkingPlugin";
|
@@ -17,7 +17,7 @@ export declare const BuiltinLazyCompilationPlugin: {
|
|
17
17
|
data: string;
|
18
18
|
client: string;
|
19
19
|
}, cacheable: boolean, entries: boolean, imports: boolean, test?: RegExp | ((module: Module) => boolean) | undefined];
|
20
|
-
affectedHooks: "done" | "compilation" | "
|
20
|
+
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;
|
21
21
|
raw(compiler: import("../..").Compiler): import("@rspack/binding").BuiltinPlugin;
|
22
22
|
apply(compiler: import("../..").Compiler): void;
|
23
23
|
};
|