@rspack/core 0.7.2-canary-c0c0fd3-20240607004432 → 0.7.2-canary-3dcf0a9-20240607151650
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 +2 -2
- package/dist/Compilation.js +2 -2
- package/dist/Compiler.d.ts +5 -5
- package/dist/Compiler.js +9 -9
- package/dist/ContextModuleFactory.d.ts +1 -1
- package/dist/MultiCompiler.d.ts +1 -1
- package/dist/MultiCompiler.js +1 -1
- package/dist/NormalModule.js +1 -1
- package/dist/NormalModuleFactory.d.ts +1 -1
- package/dist/builtin-plugin/APIPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/AssetModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/BannerPlugin.d.ts +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/CopyRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/CssModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DataUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DefinePlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DeterministicModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +1 -1
- package/dist/builtin-plugin/DynamicEntryPlugin.js +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/ExternalsPlugin.d.ts +3 -3
- package/dist/builtin-plugin/FileUriPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +1 -1
- package/dist/builtin-plugin/HtmlRspackPlugin.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/JavascriptModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
- package/dist/builtin-plugin/JsonModulesPlugin.d.ts +1 -1
- package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +1 -1
- package/dist/builtin-plugin/MangleExportsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +1 -1
- package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NaturalChunkIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NaturalModuleIdsPlugin.d.ts +1 -1
- package/dist/builtin-plugin/NodeTargetPlugin.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/RemoveEmptyChunksPlugin.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/SplitChunksPlugin.js +1 -1
- package/dist/builtin-plugin/SwcCssMinimizerPlugin.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/WebWorkerTemplatePlugin.d.ts +1 -1
- package/dist/builtin-plugin/WorkerPlugin.js +1 -1
- package/dist/builtin-plugin/base.d.ts +1 -1
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +1 -1
- package/dist/config/defaults.js +1 -1
- package/dist/config/normalization.d.ts +1 -1
- package/dist/config/zod.d.ts +374 -374
- package/dist/container/ContainerPlugin.d.ts +1 -1
- package/dist/container/ContainerReferencePlugin.d.ts +2 -2
- package/dist/container/ContainerReferencePlugin.js +1 -1
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
- package/dist/loader-runner/index.js +1 -1
- package/dist/node/NodeEnvironmentPlugin.js +1 -1
- package/dist/node/NodeWatchFileSystem.d.ts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/rspack.js +3 -3
- package/dist/rspackOptionsApply.js +1 -1
- package/dist/sharing/ConsumeSharedPlugin.d.ts +1 -1
- package/dist/sharing/ProvideSharedPlugin.d.ts +1 -1
- package/dist/sharing/ShareRuntimePlugin.d.ts +1 -1
- package/package.json +4 -4
package/dist/Compilation.d.ts
CHANGED
|
@@ -11,18 +11,18 @@
|
|
|
11
11
|
import type { ExternalObject, JsCompilation, JsModule, JsPathData, JsRuntimeModule, JsStatsError, JsStatsWarning } from "@rspack/binding";
|
|
12
12
|
import * as tapable from "tapable";
|
|
13
13
|
import { Source } from "webpack-sources";
|
|
14
|
-
import { Filename, OutputNormalized, RspackOptionsNormalized, RspackPluginInstance, StatsOptions, StatsValue } from "./config";
|
|
15
14
|
import { ContextModuleFactory } from "./ContextModuleFactory";
|
|
15
|
+
import { Filename, OutputNormalized, RspackOptionsNormalized, RspackPluginInstance, StatsOptions, StatsValue } from "./config";
|
|
16
16
|
import * as liteTapable from "./lite-tapable";
|
|
17
17
|
import ResolverFactory = require("./ResolverFactory");
|
|
18
18
|
import { Chunk } from "./Chunk";
|
|
19
19
|
import { ChunkGraph } from "./ChunkGraph";
|
|
20
20
|
import { Compiler } from "./Compiler";
|
|
21
21
|
import { Entrypoint } from "./Entrypoint";
|
|
22
|
-
import { Logger } from "./logging/Logger";
|
|
23
22
|
import { CodeGenerationResult, Module } from "./Module";
|
|
24
23
|
import { NormalModuleFactory } from "./NormalModuleFactory";
|
|
25
24
|
import { Stats, StatsAsset, StatsError, StatsModule } from "./Stats";
|
|
25
|
+
import { Logger } from "./logging/Logger";
|
|
26
26
|
import { StatsFactory } from "./stats/StatsFactory";
|
|
27
27
|
import { StatsPrinter } from "./stats/StatsPrinter";
|
|
28
28
|
import { type AssetInfo } from "./util/AssetInfo";
|
package/dist/Compilation.js
CHANGED
|
@@ -45,17 +45,17 @@ const Chunk_1 = require("./Chunk");
|
|
|
45
45
|
const ChunkGraph_1 = require("./ChunkGraph");
|
|
46
46
|
const Entrypoint_1 = require("./Entrypoint");
|
|
47
47
|
const ErrorHelpers_1 = __importDefault(require("./ErrorHelpers"));
|
|
48
|
-
const Logger_1 = require("./logging/Logger");
|
|
49
48
|
const Module_1 = require("./Module");
|
|
50
49
|
const NormalModule_1 = require("./NormalModule");
|
|
51
50
|
const Stats_1 = require("./Stats");
|
|
51
|
+
const Logger_1 = require("./logging/Logger");
|
|
52
52
|
const StatsFactory_1 = require("./stats/StatsFactory");
|
|
53
53
|
const StatsPrinter_1 = require("./stats/StatsPrinter");
|
|
54
54
|
const util_1 = require("./util");
|
|
55
55
|
const AssetInfo_1 = require("./util/AssetInfo");
|
|
56
|
+
const MergeCaller_1 = __importDefault(require("./util/MergeCaller"));
|
|
56
57
|
const fake_1 = require("./util/fake");
|
|
57
58
|
const memoize_1 = require("./util/memoize");
|
|
58
|
-
const MergeCaller_1 = __importDefault(require("./util/MergeCaller"));
|
|
59
59
|
const source_1 = require("./util/source");
|
|
60
60
|
class Compilation {
|
|
61
61
|
constructor(compiler, inner) {
|
package/dist/Compiler.d.ts
CHANGED
|
@@ -13,22 +13,22 @@ import * as tapable from "tapable";
|
|
|
13
13
|
import { Callback } from "tapable";
|
|
14
14
|
import type Watchpack from "../compiled/watchpack";
|
|
15
15
|
import { Compilation, CompilationParams } from "./Compilation";
|
|
16
|
-
import { EntryNormalized, OutputNormalized, RspackOptionsNormalized, RspackPluginInstance } from "./config";
|
|
17
16
|
import { ContextModuleFactory } from "./ContextModuleFactory";
|
|
18
|
-
import { rspack } from "./index";
|
|
19
|
-
import * as liteTapable from "./lite-tapable";
|
|
20
17
|
import { RuleSetCompiler } from "./RuleSetCompiler";
|
|
21
18
|
import { Stats } from "./Stats";
|
|
19
|
+
import { EntryNormalized, OutputNormalized, RspackOptionsNormalized, RspackPluginInstance } from "./config";
|
|
20
|
+
import { rspack } from "./index";
|
|
21
|
+
import * as liteTapable from "./lite-tapable";
|
|
22
22
|
import ResolverFactory = require("./ResolverFactory");
|
|
23
23
|
import Cache = require("./lib/Cache");
|
|
24
24
|
import CacheFacade = require("./lib/CacheFacade");
|
|
25
25
|
import { Source } from "webpack-sources";
|
|
26
26
|
import { Chunk } from "./Chunk";
|
|
27
27
|
import { FileSystemInfoEntry } from "./FileSystemInfo";
|
|
28
|
-
import { Logger } from "./logging/Logger";
|
|
29
28
|
import { NormalModuleFactory } from "./NormalModuleFactory";
|
|
30
|
-
import { OutputFileSystem, WatchFileSystem } from "./util/fs";
|
|
31
29
|
import { Watching } from "./Watching";
|
|
30
|
+
import { Logger } from "./logging/Logger";
|
|
31
|
+
import { OutputFileSystem, WatchFileSystem } from "./util/fs";
|
|
32
32
|
export interface AssetEmittedInfo {
|
|
33
33
|
content: Buffer;
|
|
34
34
|
source: Source;
|
package/dist/Compiler.js
CHANGED
|
@@ -52,32 +52,32 @@ const binding = __importStar(require("@rspack/binding"));
|
|
|
52
52
|
const tapable = __importStar(require("tapable"));
|
|
53
53
|
const tapable_1 = require("tapable");
|
|
54
54
|
const Compilation_1 = require("./Compilation");
|
|
55
|
-
const config_1 = require("./config");
|
|
56
55
|
const ContextModuleFactory_1 = require("./ContextModuleFactory");
|
|
57
|
-
const index_1 = require("./index");
|
|
58
|
-
const liteTapable = __importStar(require("./lite-tapable"));
|
|
59
56
|
const RuleSetCompiler_1 = require("./RuleSetCompiler");
|
|
60
57
|
const Stats_1 = require("./Stats");
|
|
58
|
+
const config_1 = require("./config");
|
|
59
|
+
const index_1 = require("./index");
|
|
60
|
+
const liteTapable = __importStar(require("./lite-tapable"));
|
|
61
61
|
const ResolverFactory = require("./ResolverFactory");
|
|
62
62
|
const ConcurrentCompilationError_1 = __importDefault(require("./error/ConcurrentCompilationError"));
|
|
63
63
|
const fileSystem_1 = require("./fileSystem");
|
|
64
64
|
const Cache = require("./lib/Cache");
|
|
65
65
|
const CacheFacade = require("./lib/CacheFacade");
|
|
66
|
-
const builtin_plugin_1 = require("./builtin-plugin");
|
|
67
|
-
const base_1 = require("./builtin-plugin/base");
|
|
68
66
|
const Chunk_1 = require("./Chunk");
|
|
69
|
-
const defaults_1 = require("./config/defaults");
|
|
70
67
|
const ExecuteModulePlugin_1 = __importDefault(require("./ExecuteModulePlugin"));
|
|
71
|
-
const HookWebpackError_1 = require("./lib/HookWebpackError");
|
|
72
|
-
const Logger_1 = require("./logging/Logger");
|
|
73
68
|
const Module_1 = require("./Module");
|
|
74
69
|
const NormalModuleFactory_1 = require("./NormalModuleFactory");
|
|
75
70
|
const RuntimeGlobals_1 = require("./RuntimeGlobals");
|
|
71
|
+
const Watching_1 = require("./Watching");
|
|
72
|
+
const builtin_plugin_1 = require("./builtin-plugin");
|
|
73
|
+
const base_1 = require("./builtin-plugin/base");
|
|
74
|
+
const defaults_1 = require("./config/defaults");
|
|
75
|
+
const HookWebpackError_1 = require("./lib/HookWebpackError");
|
|
76
|
+
const Logger_1 = require("./logging/Logger");
|
|
76
77
|
const util_1 = require("./util");
|
|
77
78
|
const assertNotNil_1 = require("./util/assertNotNil");
|
|
78
79
|
const bindingVersionCheck_1 = require("./util/bindingVersionCheck");
|
|
79
80
|
const identifier_1 = require("./util/identifier");
|
|
80
|
-
const Watching_1 = require("./Watching");
|
|
81
81
|
class Compiler {
|
|
82
82
|
constructor(context, options) {
|
|
83
83
|
_Compiler_instances.add(this);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as liteTapable from "./lite-tapable";
|
|
2
1
|
import { ContextModuleFactoryAfterResolveResult, ContextModuleFactoryBeforeResolveResult } from "./Module";
|
|
2
|
+
import * as liteTapable from "./lite-tapable";
|
|
3
3
|
export declare class ContextModuleFactory {
|
|
4
4
|
hooks: {
|
|
5
5
|
beforeResolve: liteTapable.AsyncSeriesWaterfallHook<[
|
package/dist/MultiCompiler.d.ts
CHANGED
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { AsyncSeriesHook, Callback, MultiHook, SyncBailHook, SyncHook } from "tapable";
|
|
11
11
|
import { Compiler, RspackOptions } from ".";
|
|
12
|
-
import { WatchOptions } from "./config";
|
|
13
12
|
import MultiStats from "./MultiStats";
|
|
14
13
|
import MultiWatching from "./MultiWatching";
|
|
14
|
+
import { WatchOptions } from "./config";
|
|
15
15
|
import { WatchFileSystem } from "./util/fs";
|
|
16
16
|
export interface MultiCompilerOptions {
|
|
17
17
|
/**
|
package/dist/MultiCompiler.js
CHANGED
|
@@ -21,9 +21,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
21
21
|
exports.MultiCompiler = void 0;
|
|
22
22
|
const neo_async_1 = __importDefault(require("../compiled/neo-async"));
|
|
23
23
|
const tapable_1 = require("tapable");
|
|
24
|
-
const ConcurrentCompilationError_1 = __importDefault(require("./error/ConcurrentCompilationError"));
|
|
25
24
|
const MultiStats_1 = __importDefault(require("./MultiStats"));
|
|
26
25
|
const MultiWatching_1 = __importDefault(require("./MultiWatching"));
|
|
26
|
+
const ConcurrentCompilationError_1 = __importDefault(require("./error/ConcurrentCompilationError"));
|
|
27
27
|
const ArrayQueue_1 = __importDefault(require("./util/ArrayQueue"));
|
|
28
28
|
class MultiCompiler {
|
|
29
29
|
constructor(compilers, options) {
|
package/dist/NormalModule.js
CHANGED
|
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.NormalModule = void 0;
|
|
7
|
-
const tapable_1 = require("tapable");
|
|
8
7
|
const util_1 = __importDefault(require("util"));
|
|
8
|
+
const tapable_1 = require("tapable");
|
|
9
9
|
const Compilation_1 = require("./Compilation");
|
|
10
10
|
const compilationHooksMap = new WeakMap();
|
|
11
11
|
const createFakeHook = (fakeHook, message, code) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as binding from "@rspack/binding";
|
|
2
|
-
import * as liteTapable from "./lite-tapable";
|
|
3
2
|
import { ResolveData, ResourceDataWithData } from "./Module";
|
|
3
|
+
import * as liteTapable from "./lite-tapable";
|
|
4
4
|
export type NormalModuleCreateData = binding.JsNormalModuleFactoryCreateModuleArgs & {
|
|
5
5
|
settings: {};
|
|
6
6
|
};
|
|
@@ -3,7 +3,7 @@ export declare const APIPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const ArrayPushCallbackChunkFormatPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const AssetModulesPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const AsyncWebAssemblyModulesPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -183,7 +183,7 @@ export declare const BannerPlugin: {
|
|
|
183
183
|
}): {
|
|
184
184
|
name: BuiltinPluginName;
|
|
185
185
|
_options: RawBannerPluginOptions;
|
|
186
|
-
affectedHooks: "
|
|
186
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
187
187
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
188
188
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
189
189
|
};
|
|
@@ -7,7 +7,7 @@ export declare const BundlerInfoRspackPlugin: {
|
|
|
7
7
|
new (options: BundleInfoOptions): {
|
|
8
8
|
name: BuiltinPluginName;
|
|
9
9
|
_options: RawBundlerInfoPluginOptions;
|
|
10
|
-
affectedHooks: "
|
|
10
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
11
11
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
12
12
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
13
13
|
};
|
|
@@ -3,7 +3,7 @@ export declare const ChunkPrefetchPreloadPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const CommonJsChunkFormatPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -8,7 +8,7 @@ export declare const CopyRspackPlugin: {
|
|
|
8
8
|
new (copy: CopyRspackPluginOptions): {
|
|
9
9
|
name: BuiltinPluginName;
|
|
10
10
|
_options: RawCopyRspackPluginOptions;
|
|
11
|
-
affectedHooks: "
|
|
11
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
12
12
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
13
13
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
14
14
|
};
|
|
@@ -3,7 +3,7 @@ export declare const CssModulesPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const DataUriPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -4,7 +4,7 @@ export declare const DefinePlugin: {
|
|
|
4
4
|
new (define: DefinePluginOptions): {
|
|
5
5
|
name: BuiltinPluginName;
|
|
6
6
|
_options: Record<string, string>;
|
|
7
|
-
affectedHooks: "
|
|
7
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
8
8
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
9
9
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
10
10
|
};
|
|
@@ -3,7 +3,7 @@ export declare const DeterministicChunkIdsPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const DeterministicModuleIdsPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -4,7 +4,7 @@ export declare const DynamicEntryPlugin: {
|
|
|
4
4
|
new (context: string, entry: EntryDynamicNormalized): {
|
|
5
5
|
name: BuiltinPluginName;
|
|
6
6
|
_options: RawDynamicEntryPluginOptions;
|
|
7
|
-
affectedHooks: "
|
|
7
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
8
8
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
9
9
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
10
10
|
};
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.DynamicEntryPlugin = void 0;
|
|
7
7
|
const binding_1 = require("@rspack/binding");
|
|
8
8
|
const EntryOptionPlugin_1 = __importDefault(require("../lib/EntryOptionPlugin"));
|
|
9
|
-
const base_1 = require("./base");
|
|
10
9
|
const EntryPlugin_1 = require("./EntryPlugin");
|
|
10
|
+
const base_1 = require("./base");
|
|
11
11
|
exports.DynamicEntryPlugin = (0, base_1.create)(binding_1.BuiltinPluginName.DynamicEntryPlugin, (context, entry) => {
|
|
12
12
|
return {
|
|
13
13
|
context,
|
|
@@ -3,7 +3,7 @@ export declare const ElectronTargetPlugin: {
|
|
|
3
3
|
new (context?: string | undefined): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: string;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const EnableChunkLoadingPlugin: {
|
|
|
3
3
|
new (type: any): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: any;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const EnableWasmLoadingPlugin: {
|
|
|
3
3
|
new (type: any): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: any;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const EnsureChunkConditionsPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -15,7 +15,7 @@ export declare const EntryPlugin: {
|
|
|
15
15
|
new (context: string, entry: string, options?: string | EntryOptions | undefined): {
|
|
16
16
|
name: BuiltinPluginName;
|
|
17
17
|
_options: RawEntryPluginOptions;
|
|
18
|
-
affectedHooks: "
|
|
18
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
19
19
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
20
20
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
21
21
|
};
|
|
@@ -4,7 +4,7 @@ export declare const EvalDevToolModulePlugin: {
|
|
|
4
4
|
new (options: RawEvalDevToolModulePluginOptions): {
|
|
5
5
|
name: BuiltinPluginName;
|
|
6
6
|
_options: RawEvalDevToolModulePluginOptions;
|
|
7
|
-
affectedHooks: "
|
|
7
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
8
8
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
9
9
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ export declare const EvalSourceMapDevToolPlugin: {
|
|
|
4
4
|
new (options: SourceMapDevToolPluginOptions): {
|
|
5
5
|
name: BuiltinPluginName;
|
|
6
6
|
_options: RawSourceMapDevToolPluginOptions;
|
|
7
|
-
affectedHooks: "
|
|
7
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
8
8
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
9
9
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ export declare const ExternalsPlugin: {
|
|
|
4
4
|
context?: string | undefined;
|
|
5
5
|
dependencyType?: string | undefined;
|
|
6
6
|
request?: string | undefined;
|
|
7
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
7
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "global" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
8
8
|
context?: string | undefined;
|
|
9
9
|
dependencyType?: string | undefined;
|
|
10
10
|
request?: string | undefined;
|
|
@@ -12,14 +12,14 @@ export declare const ExternalsPlugin: {
|
|
|
12
12
|
context?: string | undefined;
|
|
13
13
|
dependencyType?: string | undefined;
|
|
14
14
|
request?: string | undefined;
|
|
15
|
-
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "
|
|
15
|
+
}, args_1: (args_0: Error | undefined, args_1: string | boolean | string[] | Record<string, string | string[]> | undefined, args_2: "promise" | "global" | "jsonp" | "import" | "amd" | "commonjs" | "commonjs2" | "var" | "module" | "assign" | "this" | "window" | "self" | "commonjs-module" | "commonjs-static" | "amd-require" | "umd" | "umd2" | "system" | "script" | "node-commonjs" | undefined, ...args_3: unknown[]) => void, ...args_2: unknown[]) => unknown) | ((args_0: {
|
|
16
16
|
context?: string | undefined;
|
|
17
17
|
dependencyType?: string | undefined;
|
|
18
18
|
request?: string | undefined;
|
|
19
19
|
}, ...args_1: unknown[]) => Promise<string | boolean | string[] | Record<string, string | string[]>>))[]): {
|
|
20
20
|
name: BuiltinPluginName;
|
|
21
21
|
_options: RawExternalsPluginOptions;
|
|
22
|
-
affectedHooks: "
|
|
22
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
23
23
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
24
24
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
25
25
|
};
|
|
@@ -3,7 +3,7 @@ export declare const FileUriPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const FlagDependencyExportsPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const FlagDependencyUsagePlugin: {
|
|
|
3
3
|
new (global: boolean): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: boolean;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -66,7 +66,7 @@ export declare const HtmlRspackPlugin: {
|
|
|
66
66
|
} | undefined): {
|
|
67
67
|
name: BuiltinPluginName;
|
|
68
68
|
_options: RawHtmlRspackPluginOptions;
|
|
69
|
-
affectedHooks: "
|
|
69
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
70
70
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
71
71
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
72
72
|
};
|
|
@@ -3,7 +3,7 @@ export declare const HttpExternalsRspackPlugin: {
|
|
|
3
3
|
new (css: boolean, webAsync: boolean): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: RawHttpExternalsRspackPluginOptions;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -9,7 +9,7 @@ export declare const IgnorePlugin: {
|
|
|
9
9
|
new (options: IgnorePluginOptions): {
|
|
10
10
|
name: BuiltinPluginName;
|
|
11
11
|
_options: RawIgnorePluginOptions;
|
|
12
|
-
affectedHooks: "
|
|
12
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
13
13
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
14
14
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
15
15
|
};
|
|
@@ -3,7 +3,7 @@ export declare const InferAsyncModulesPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ export declare const JavascriptModulesPlugin: {
|
|
|
3
3
|
new (): {
|
|
4
4
|
name: BuiltinPluginName;
|
|
5
5
|
_options: void;
|
|
6
|
-
affectedHooks: "
|
|
6
|
+
affectedHooks: "make" | "compile" | "emit" | "afterEmit" | "invalid" | "done" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
|
|
7
7
|
raw(): import("@rspack/binding").BuiltinPlugin;
|
|
8
8
|
apply(compiler: import("../Compiler").Compiler): void;
|
|
9
9
|
};
|