@rspack-canary/core 1.7.3-canary-6991b7b5-20260119174555 → 1.7.3-canary-0b48f4eb-20260120024403
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/ChunkGraph.d.ts +1 -1
- package/dist/Compilation.d.ts +27 -27
- package/dist/Compiler.d.ts +18 -17
- package/dist/ContextModuleFactory.d.ts +1 -1
- package/dist/Diagnostics.d.ts +1 -1
- package/dist/ExecuteModulePlugin.d.ts +1 -1
- package/dist/ExportsInfo.d.ts +1 -1
- package/dist/FileSystem.d.ts +1 -1
- package/dist/Module.d.ts +2 -2
- package/dist/ModuleGraph.d.ts +2 -2
- package/dist/MultiCompiler.d.ts +7 -7
- package/dist/MultiStats.d.ts +3 -3
- package/dist/MultiWatching.d.ts +2 -2
- package/dist/NativeWatchFileSystem.d.ts +1 -1
- package/dist/NormalModule.d.ts +3 -3
- package/dist/NormalModuleFactory.d.ts +3 -3
- package/dist/Resolver.d.ts +1 -1
- package/dist/ResolverFactory.d.ts +2 -2
- package/dist/RuntimeGlobals.d.ts +1 -1
- package/dist/RuntimeModule.d.ts +3 -3
- package/dist/Stats.d.ts +4 -4
- package/dist/VirtualModulesPlugin.d.ts +1 -1
- package/dist/Watching.d.ts +4 -4
- package/dist/builtin-loader/index.d.ts +1 -1
- package/dist/builtin-loader/lightningcss/index.d.ts +0 -5
- package/dist/builtin-loader/swc/index.d.ts +5 -5
- package/dist/builtin-loader/swc/types.d.ts +4 -6
- package/dist/builtin-plugin/APIPlugin.d.ts +3 -3
- package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +3 -3
- package/dist/builtin-plugin/AssetModulesPlugin.d.ts +3 -3
- package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +3 -3
- package/dist/builtin-plugin/BannerPlugin.d.ts +3 -3
- package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +3 -3
- package/dist/builtin-plugin/CaseSensitivePlugin.d.ts +3 -3
- package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +3 -3
- package/dist/builtin-plugin/CircularDependencyRspackPlugin.d.ts +4 -4
- package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +3 -3
- package/dist/builtin-plugin/ContextReplacementPlugin.d.ts +3 -3
- package/dist/builtin-plugin/CopyRspackPlugin.d.ts +3 -3
- package/dist/builtin-plugin/CssChunkingPlugin.d.ts +3 -3
- package/dist/builtin-plugin/CssModulesPlugin.d.ts +3 -3
- package/dist/builtin-plugin/DataUriPlugin.d.ts +3 -3
- package/dist/builtin-plugin/DefinePlugin.d.ts +3 -3
- 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 +3 -3
- package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +3 -3
- package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +3 -3
- package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +3 -3
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +2 -2
- package/dist/builtin-plugin/EnableLibraryPlugin.d.ts +2 -2
- package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +3 -3
- package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +3 -3
- package/dist/builtin-plugin/EntryPlugin.d.ts +4 -4
- package/dist/builtin-plugin/EsmLibraryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +3 -3
- package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +3 -3
- package/dist/builtin-plugin/ExternalsPlugin.d.ts +2 -2
- package/dist/builtin-plugin/FetchCompileAsyncWasmPlugin.d.ts +3 -3
- package/dist/builtin-plugin/FileUriPlugin.d.ts +3 -3
- package/dist/builtin-plugin/FlagAllModulesAsUsedPlugin.d.ts +3 -3
- package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +3 -3
- package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +1 -1
- package/dist/builtin-plugin/HotModuleReplacementPlugin.d.ts +2 -2
- package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +3 -3
- package/dist/builtin-plugin/HttpUriPlugin.d.ts +2 -2
- package/dist/builtin-plugin/IgnorePlugin.d.ts +3 -3
- package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +3 -3
- package/dist/builtin-plugin/InlineExportsPlugin.d.ts +3 -3
- package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +4 -4
- package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +2 -2
- package/dist/builtin-plugin/JsonModulesPlugin.d.ts +3 -3
- package/dist/builtin-plugin/LibManifestPlugin.d.ts +3 -3
- package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +5 -10
- package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +3 -3
- package/dist/builtin-plugin/MangleExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +3 -3
- package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +3 -3
- package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleInfoHeaderPlugin.d.ts +3 -3
- package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +3 -3
- package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +3 -3
- 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 +3 -3
- package/dist/builtin-plugin/NodeTargetPlugin.d.ts +3 -3
- package/dist/builtin-plugin/NormalModuleReplacementPlugin.d.ts +4 -4
- package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +3 -3
- package/dist/builtin-plugin/ProgressPlugin.d.ts +3 -3
- package/dist/builtin-plugin/ProvidePlugin.d.ts +3 -3
- package/dist/builtin-plugin/RealContentHashPlugin.d.ts +3 -3
- package/dist/builtin-plugin/RemoveDuplicateModulesPlugin.d.ts +3 -3
- package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +3 -3
- package/dist/builtin-plugin/RsdoctorPlugin.d.ts +4 -8
- package/dist/builtin-plugin/RslibPlugin.d.ts +3 -3
- package/dist/builtin-plugin/RstestPlugin.d.ts +3 -3
- package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +3 -3
- package/dist/builtin-plugin/RuntimePlugin.d.ts +6 -10
- package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +3 -3
- package/dist/builtin-plugin/SizeLimitsPlugin.d.ts +3 -3
- package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +3 -3
- package/dist/builtin-plugin/SplitChunksPlugin.d.ts +3 -3
- package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +2 -2
- package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +5 -5
- package/dist/builtin-plugin/URLPlugin.d.ts +3 -3
- package/dist/builtin-plugin/WebWorkerTemplatePlugin.d.ts +2 -2
- package/dist/builtin-plugin/WorkerPlugin.d.ts +3 -3
- package/dist/builtin-plugin/base.d.ts +3 -3
- package/dist/builtin-plugin/css-extract/index.d.ts +3 -3
- package/dist/builtin-plugin/css-extract/loader.d.ts +1 -1
- package/dist/builtin-plugin/css-extract/utils.d.ts +1 -1
- package/dist/builtin-plugin/html-plugin/hooks.d.ts +2 -2
- package/dist/builtin-plugin/html-plugin/index.d.ts +2 -2
- package/dist/builtin-plugin/html-plugin/options.d.ts +1 -6
- package/dist/builtin-plugin/html-plugin/plugin.d.ts +5 -9
- package/dist/builtin-plugin/html-plugin/taps.d.ts +1 -1
- package/dist/builtin-plugin/index.d.ts +85 -84
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +4 -4
- package/dist/builtin-plugin/lazy-compilation/middleware.d.ts +2 -2
- package/dist/builtin-plugin/rsc/Coordinator.d.ts +8 -0
- package/dist/builtin-plugin/rsc/RscClientPlugin.d.ts +13 -0
- package/dist/builtin-plugin/rsc/RscServerPlugin.d.ts +14 -0
- package/dist/builtin-plugin/rsc/index.d.ts +24 -0
- package/dist/config/adapter.d.ts +4 -4
- package/dist/config/adapterRuleUse.d.ts +9 -9
- package/dist/config/browserslistTargetHandler.d.ts +1 -1
- package/dist/config/defaults.d.ts +1 -1
- package/dist/config/devServer.d.ts +3 -3
- package/dist/config/index.d.ts +5 -5
- package/dist/config/normalization.d.ts +7 -35
- package/dist/config/types.d.ts +67 -156
- package/dist/container/ContainerPlugin.d.ts +3 -3
- package/dist/container/ContainerReferencePlugin.d.ts +3 -3
- package/dist/container/ModuleFederationManifestPlugin.d.ts +2 -2
- package/dist/container/ModuleFederationPlugin.d.ts +3 -3
- package/dist/container/ModuleFederationPluginV1.d.ts +5 -5
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +3 -3
- package/dist/container/index.d.ts +4 -4
- package/dist/cssExtractHmr.js +2 -27
- package/dist/cssExtractLoader.js +15 -57
- package/dist/exports.d.ts +70 -81
- package/dist/index.d.ts +3 -3
- package/dist/index.js +11461 -11716
- package/dist/lib/AbstractMethodError.d.ts +1 -1
- package/dist/lib/Cache.d.ts +1 -1
- package/dist/lib/CacheFacade.d.ts +3 -3
- package/dist/lib/DllPlugin.d.ts +2 -2
- package/dist/lib/DllReferencePlugin.d.ts +3 -3
- package/dist/lib/EntryOptionPlugin.d.ts +2 -2
- package/dist/lib/EnvironmentPlugin.d.ts +1 -1
- package/dist/lib/HookWebpackError.d.ts +1 -1
- package/dist/lib/IgnoreWarningsPlugin.d.ts +1 -1
- package/dist/lib/LoaderOptionsPlugin.d.ts +2 -2
- package/dist/lib/LoaderTargetPlugin.d.ts +2 -2
- package/dist/lib/WebpackError.d.ts +2 -2
- package/dist/lib/cache/MemoryCachePlugin.d.ts +1 -1
- package/dist/lib/cache/getLazyHashedEtag.d.ts +1 -1
- package/dist/lib/cache/mergeEtags.d.ts +1 -1
- package/dist/loader-runner/ModuleError.d.ts +1 -1
- package/dist/loader-runner/index.d.ts +1 -1
- package/dist/loader-runner/loadLoader.d.ts +2 -2
- package/dist/loader-runner/utils.d.ts +3 -3
- package/dist/loader-runner/worker.d.ts +1 -1
- package/dist/logging/createConsoleLogger.d.ts +2 -2
- package/dist/moduleFederationDefaultRuntime.js +1 -1
- package/dist/node/NodeEnvironmentPlugin.d.ts +2 -2
- package/dist/node/NodeTemplatePlugin.d.ts +1 -1
- package/dist/node/NodeWatchFileSystem.d.ts +1 -1
- package/dist/node/nodeConsole.d.ts +1 -1
- package/dist/rslib-runtime.js +29 -0
- package/dist/rspack.d.ts +5 -5
- package/dist/rspackOptionsApply.d.ts +1 -1
- package/dist/runtime/moduleFederationDefaultRuntime.d.ts +1 -2
- package/dist/sharing/ConsumeSharedPlugin.d.ts +2 -2
- package/dist/sharing/ProvideSharedPlugin.d.ts +2 -2
- package/dist/sharing/SharePlugin.d.ts +1 -1
- package/dist/sharing/ShareRuntimePlugin.d.ts +2 -2
- package/dist/stats/DefaultStatsFactoryPlugin.d.ts +1 -1
- package/dist/stats/DefaultStatsPresetPlugin.d.ts +1 -1
- package/dist/stats/DefaultStatsPrinterPlugin.d.ts +1 -1
- package/dist/stats/StatsFactory.d.ts +2 -2
- package/dist/stats/StatsPrinter.d.ts +1 -1
- package/dist/stats/statsFactoryUtils.d.ts +3 -6
- package/dist/taps/compilation.d.ts +1 -1
- package/dist/taps/compiler.d.ts +1 -1
- package/dist/taps/contextModuleFactory.d.ts +1 -1
- package/dist/taps/index.d.ts +6 -6
- package/dist/taps/javascriptModules.d.ts +1 -1
- package/dist/taps/normalModuleFactory.d.ts +1 -1
- package/dist/taps/types.d.ts +1 -1
- package/dist/trace/traceHookPlugin.d.ts +1 -1
- package/dist/util/createHash.d.ts +1 -1
- package/dist/util/fs.d.ts +1 -1
- package/dist/util/hash/md4.d.ts +1 -1
- package/dist/util/hash/xxhash64.d.ts +1 -1
- package/dist/util/index.d.ts +1 -1
- package/dist/util/validateConfig.d.ts +1 -1
- package/dist/worker.js +846 -918
- package/hot/dev-server.js +12 -9
- package/hot/emitter.js +5 -1
- package/hot/lazy-compilation-node.js +4 -1
- package/hot/lazy-compilation-web.js +2 -3
- package/hot/log-apply-result.js +8 -5
- package/hot/log.js +17 -7
- package/hot/only-dev-server.js +13 -10
- package/hot/poll.js +11 -8
- package/hot/signal.js +13 -9
- package/package.json +9 -6
|
@@ -2,8 +2,8 @@ export declare const DataUriPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -3,9 +3,9 @@ export declare const DefinePlugin: {
|
|
|
3
3
|
new (define: DefinePluginOptions): {
|
|
4
4
|
name: string;
|
|
5
5
|
_args: [define: DefinePluginOptions];
|
|
6
|
-
affectedHooks: keyof import("
|
|
7
|
-
raw(compiler: import("
|
|
8
|
-
apply(compiler: import("
|
|
6
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
7
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
8
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
type CodeValue = RecursiveArrayOrRecord<CodeValuePrimitive>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
3
3
|
export declare class DeterministicChunkIdsPlugin extends RspackBuiltinPlugin {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
affectedHooks: "compilation";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
3
3
|
export declare class DeterministicModuleIdsPlugin extends RspackBuiltinPlugin {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
affectedHooks: "compilation";
|
|
@@ -5,8 +5,8 @@ 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: keyof import("
|
|
9
|
-
raw(compiler: import("
|
|
10
|
-
apply(compiler: import("
|
|
8
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
9
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
10
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
@@ -4,8 +4,8 @@ export declare const DllReferenceAgencyPlugin: {
|
|
|
4
4
|
new (options: RawDllReferenceAgencyPluginOptions): {
|
|
5
5
|
name: string;
|
|
6
6
|
_args: [options: RawDllReferenceAgencyPluginOptions];
|
|
7
|
-
affectedHooks: keyof import("
|
|
8
|
-
raw(compiler: import("
|
|
9
|
-
apply(compiler: import("
|
|
7
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
8
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
9
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import type { Compiler } from '../Compiler';
|
|
3
|
-
import type { EntryDynamicNormalized } from '../config';
|
|
4
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import type { Compiler } from '../Compiler.js';
|
|
3
|
+
import type { EntryDynamicNormalized } from '../config/index.js';
|
|
4
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
5
5
|
export declare class DynamicEntryPlugin extends RspackBuiltinPlugin {
|
|
6
6
|
private context;
|
|
7
7
|
private entry;
|
|
@@ -2,8 +2,8 @@ export declare const ElectronTargetPlugin: {
|
|
|
2
2
|
new (context?: string | undefined): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [context?: string | undefined];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
* Copyright (c) JS Foundation and other contributors
|
|
8
8
|
* https://github.com/webpack/webpack/blob/main/LICENSE
|
|
9
9
|
*/
|
|
10
|
-
import type { ChunkLoadingType, Compiler } from '../exports';
|
|
10
|
+
import type { ChunkLoadingType, Compiler } from '../exports.js';
|
|
11
11
|
declare const EnableChunkLoadingPluginInner: {
|
|
12
12
|
new (type: string): {
|
|
13
13
|
name: string;
|
|
14
14
|
_args: [type: string];
|
|
15
|
-
affectedHooks: keyof import("../
|
|
15
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
16
16
|
raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
17
17
|
apply(compiler: Compiler): void;
|
|
18
18
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import type { Compiler, LibraryType } from '
|
|
3
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import type { Compiler, LibraryType } from '../index.js';
|
|
3
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
4
4
|
export declare class EnableLibraryPlugin extends RspackBuiltinPlugin {
|
|
5
5
|
private type;
|
|
6
6
|
name: BuiltinPluginName;
|
|
@@ -2,8 +2,8 @@ export declare const EnableWasmLoadingPlugin: {
|
|
|
2
2
|
new (type: string): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [type: string];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ export declare const EnsureChunkConditionsPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EntryDependency, type JsEntryOptions } from '@rspack/binding';
|
|
2
|
-
import type { EntryDescriptionNormalized } from '../config';
|
|
2
|
+
import type { EntryDescriptionNormalized } from '../config/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Options for the `EntryPlugin`.
|
|
5
5
|
*/
|
|
@@ -19,9 +19,9 @@ 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: keyof import("
|
|
23
|
-
raw(compiler: import("
|
|
24
|
-
apply(compiler: import("
|
|
22
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
23
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
24
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
type EntryPluginType = typeof OriginEntryPlugin & {
|
|
@@ -4,8 +4,8 @@ export declare const EvalDevToolModulePlugin: {
|
|
|
4
4
|
new (options: RawEvalDevToolModulePluginOptions): {
|
|
5
5
|
name: string;
|
|
6
6
|
_args: [options: RawEvalDevToolModulePluginOptions];
|
|
7
|
-
affectedHooks: keyof import("
|
|
8
|
-
raw(compiler: import("
|
|
9
|
-
apply(compiler: import("
|
|
7
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
8
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
9
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
@@ -3,8 +3,8 @@ export declare const EvalSourceMapDevToolPlugin: {
|
|
|
3
3
|
new (options: SourceMapDevToolPluginOptions): {
|
|
4
4
|
name: string;
|
|
5
5
|
_args: [options: SourceMapDevToolPluginOptions];
|
|
6
|
-
affectedHooks: keyof import("
|
|
7
|
-
raw(compiler: import("
|
|
8
|
-
apply(compiler: import("
|
|
6
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
7
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
8
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import type { Externals } from '
|
|
3
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import type { Externals } from '../index.js';
|
|
3
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
4
4
|
export declare class ExternalsPlugin extends RspackBuiltinPlugin {
|
|
5
5
|
#private;
|
|
6
6
|
private type;
|
|
@@ -2,8 +2,8 @@ export declare const FetchCompileAsyncWasmPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ export declare const FileUriPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ export declare const FlagAllModulesAsUsedPlugin: {
|
|
|
2
2
|
new (explanation: string): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [explanation: string];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ export declare const FlagDependencyExportsPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
3
3
|
export declare class FlagDependencyUsagePlugin extends RspackBuiltinPlugin {
|
|
4
4
|
private global;
|
|
5
5
|
name: BuiltinPluginName;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import type { Compiler } from '../Compiler';
|
|
3
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import type { Compiler } from '../Compiler.js';
|
|
3
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
4
4
|
export declare class HotModuleReplacementPlugin extends RspackBuiltinPlugin {
|
|
5
5
|
name: BuiltinPluginName;
|
|
6
6
|
raw(compiler: Compiler): BuiltinPlugin;
|
|
@@ -2,8 +2,8 @@ export declare const HttpExternalsRspackPlugin: {
|
|
|
2
2
|
new (css: boolean, webAsync: boolean): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [css: boolean, webAsync: boolean];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName, type RawHttpUriPluginOptions } from '@rspack/binding';
|
|
2
|
-
import type { Compiler } from '../Compiler';
|
|
3
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import type { Compiler } from '../Compiler.js';
|
|
3
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
4
4
|
export type HttpUriPluginOptionsAllowedUris = (string | RegExp)[];
|
|
5
5
|
export type HttpUriPluginOptions = {
|
|
6
6
|
/**
|
|
@@ -12,8 +12,8 @@ export declare const IgnorePlugin: {
|
|
|
12
12
|
new (options: IgnorePluginOptions): {
|
|
13
13
|
name: string;
|
|
14
14
|
_args: [options: IgnorePluginOptions];
|
|
15
|
-
affectedHooks: keyof import("
|
|
16
|
-
raw(compiler: import("
|
|
17
|
-
apply(compiler: import("
|
|
15
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
16
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
17
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -2,8 +2,8 @@ export declare const InferAsyncModulesPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ export declare const InlineExportsPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
2
|
import * as liteTapable from '@rspack/lite-tapable';
|
|
3
|
-
import type { Chunk } from '../Chunk';
|
|
4
|
-
import { type Compilation } from '../Compilation';
|
|
5
|
-
import type Hash from '../util/hash';
|
|
6
|
-
import { RspackBuiltinPlugin } from './base';
|
|
3
|
+
import type { Chunk } from '../Chunk.js';
|
|
4
|
+
import { type Compilation } from '../Compilation.js';
|
|
5
|
+
import type Hash from '../util/hash/index.js';
|
|
6
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
7
7
|
export type CompilationHooks = {
|
|
8
8
|
chunkHash: liteTapable.SyncHook<[Chunk, Hash]>;
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Compiler } from '../Compiler';
|
|
1
|
+
import type { Compiler } from '../Compiler.js';
|
|
2
2
|
export declare const JsLoaderRspackPlugin: {
|
|
3
3
|
new (compiler: Compiler): {
|
|
4
4
|
name: string;
|
|
5
5
|
_args: [compiler: Compiler];
|
|
6
|
-
affectedHooks: keyof import("../
|
|
6
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
7
7
|
raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: Compiler): void;
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ export declare const JsonModulesPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -10,8 +10,8 @@ export declare const LibManifestPlugin: {
|
|
|
10
10
|
new (options: LibManifestPluginOptions): {
|
|
11
11
|
name: string;
|
|
12
12
|
_args: [options: LibManifestPluginOptions];
|
|
13
|
-
affectedHooks: keyof import("
|
|
14
|
-
raw(compiler: import("
|
|
15
|
-
apply(compiler: import("
|
|
13
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
14
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
15
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Drafts, type FeatureOptions, type NonStandard, type PseudoClasses } from '../builtin-loader/lightningcss';
|
|
2
|
-
import type { AssetConditions } from '../util/assetCondition';
|
|
1
|
+
import { type Drafts, type FeatureOptions, type NonStandard, type PseudoClasses } from '../builtin-loader/lightningcss/index.js';
|
|
2
|
+
import type { AssetConditions } from '../util/assetCondition.js';
|
|
3
3
|
export type LightningCssMinimizerRspackPluginOptions = {
|
|
4
4
|
test?: AssetConditions;
|
|
5
5
|
include?: AssetConditions;
|
|
@@ -10,11 +10,6 @@ export type LightningCssMinimizerRspackPluginOptions = {
|
|
|
10
10
|
targets?: string[] | string;
|
|
11
11
|
include?: FeatureOptions;
|
|
12
12
|
exclude?: FeatureOptions;
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Use `drafts` instead.
|
|
15
|
-
* This will be removed in the next major version.
|
|
16
|
-
*/
|
|
17
|
-
draft?: Drafts;
|
|
18
13
|
drafts?: Drafts;
|
|
19
14
|
nonStandard?: NonStandard;
|
|
20
15
|
pseudoClasses?: PseudoClasses;
|
|
@@ -25,8 +20,8 @@ export declare const LightningCssMinimizerRspackPlugin: {
|
|
|
25
20
|
new (options?: LightningCssMinimizerRspackPluginOptions | undefined): {
|
|
26
21
|
name: string;
|
|
27
22
|
_args: [options?: LightningCssMinimizerRspackPluginOptions | undefined];
|
|
28
|
-
affectedHooks: keyof import("
|
|
29
|
-
raw(compiler: import("
|
|
30
|
-
apply(compiler: import("
|
|
23
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
24
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
25
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
31
26
|
};
|
|
32
27
|
};
|
|
@@ -7,8 +7,8 @@ export declare const LimitChunkCountPlugin: {
|
|
|
7
7
|
new (options: LimitChunkCountOptions): {
|
|
8
8
|
name: string;
|
|
9
9
|
_args: [options: LimitChunkCountOptions];
|
|
10
|
-
affectedHooks: keyof import("
|
|
11
|
-
raw(compiler: import("
|
|
12
|
-
apply(compiler: import("
|
|
10
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
11
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
12
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
3
3
|
export declare class MangleExportsPlugin extends RspackBuiltinPlugin {
|
|
4
4
|
private deterministic;
|
|
5
5
|
name: BuiltinPluginName;
|
|
@@ -2,8 +2,8 @@ export declare const MergeDuplicateChunksPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ export declare const ModuleChunkFormatPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
3
3
|
export declare class ModuleConcatenationPlugin extends RspackBuiltinPlugin {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
affectedHooks: "compilation";
|
|
@@ -2,8 +2,8 @@ export declare const ModuleInfoHeaderPlugin: {
|
|
|
2
2
|
new (verbose: any): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [verbose: any];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ export declare const NamedChunkIdsPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ export declare const NamedModuleIdsPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
3
3
|
export declare class NaturalChunkIdsPlugin extends RspackBuiltinPlugin {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
affectedHooks: "compilation";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BuiltinPlugin, BuiltinPluginName } from '@rspack/binding';
|
|
2
|
-
import { RspackBuiltinPlugin } from './base';
|
|
2
|
+
import { RspackBuiltinPlugin } from './base.js';
|
|
3
3
|
export declare class NaturalModuleIdsPlugin extends RspackBuiltinPlugin {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
affectedHooks: "compilation";
|
|
@@ -2,8 +2,8 @@ export declare const NoEmitOnErrorsPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -2,8 +2,8 @@ export declare const NodeTargetPlugin: {
|
|
|
2
2
|
new (): {
|
|
3
3
|
name: string;
|
|
4
4
|
_args: [];
|
|
5
|
-
affectedHooks: keyof import("
|
|
6
|
-
raw(compiler: import("
|
|
7
|
-
apply(compiler: import("
|
|
5
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
6
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
7
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { ResolveData } from '../Module';
|
|
1
|
+
import type { ResolveData } from '../Module.js';
|
|
2
2
|
export declare const NormalModuleReplacementPlugin: {
|
|
3
3
|
new (resourceRegExp: RegExp, newResource: string | ((data: ResolveData) => void)): {
|
|
4
4
|
name: string;
|
|
5
5
|
_args: [resourceRegExp: RegExp, newResource: string | ((data: ResolveData) => void)];
|
|
6
|
-
affectedHooks: keyof import("
|
|
7
|
-
raw(compiler: import("
|
|
8
|
-
apply(compiler: import("
|
|
6
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
7
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
8
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
@@ -3,8 +3,8 @@ export declare const OccurrenceChunkIdsPlugin: {
|
|
|
3
3
|
new (options?: RawOccurrenceChunkIdsPluginOptions | undefined): {
|
|
4
4
|
name: string;
|
|
5
5
|
_args: [options?: RawOccurrenceChunkIdsPluginOptions | undefined];
|
|
6
|
-
affectedHooks: keyof import("
|
|
7
|
-
raw(compiler: import("
|
|
8
|
-
apply(compiler: import("
|
|
6
|
+
affectedHooks: keyof import("../index.js").CompilerHooks | undefined;
|
|
7
|
+
raw(compiler: import("../index.js").Compiler): import("@rspack/binding").BuiltinPlugin;
|
|
8
|
+
apply(compiler: import("../index.js").Compiler): void;
|
|
9
9
|
};
|
|
10
10
|
};
|