@rspack/core 0.5.8 → 0.5.9-canary-6bcb6c4-20240326140146
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/Chunk.d.ts +2 -0
- package/dist/Chunk.js +4 -0
- package/dist/Compilation.d.ts +25 -33
- package/dist/Compilation.js +16 -25
- package/dist/Compiler.d.ts +12 -5
- package/dist/Compiler.js +158 -184
- package/dist/ContextModuleFactory.d.ts +4 -7
- package/dist/ContextModuleFactory.js +25 -1
- package/dist/Module.d.ts +23 -1
- package/dist/Module.js +12 -0
- package/dist/NormalModuleFactory.d.ts +2 -17
- package/dist/NormalModuleFactory.js +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/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/ElectronTargetPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
- package/dist/builtin-plugin/EnableLibraryPlugin.d.ts +11 -10
- package/dist/builtin-plugin/EnableLibraryPlugin.js +39 -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 +3 -3
- 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 +1 -1
- 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/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/JsLoaderRspackPlugin.js +3 -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/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/RuntimePlugin.d.ts +1 -1
- package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +1 -1
- package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +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/base.d.ts +2 -2
- package/dist/config/adapter.js +1 -2
- package/dist/config/normalization.js +1 -1
- package/dist/config/zod.d.ts +359 -51
- package/dist/config/zod.js +8 -5
- package/dist/container/ContainerPlugin.d.ts +2 -2
- package/dist/exports.d.ts +74 -29
- package/dist/rspackOptionsApply.js +0 -1
- package/dist/sharing/ShareRuntimePlugin.d.ts +1 -1
- package/dist/sharing/ShareRuntimePlugin.js +1 -1
- package/dist/util/comparators.d.ts +1 -1
- package/package.json +5 -5
- package/dist/util/normalization.d.ts +0 -5
- package/dist/util/normalization.js +0 -9
package/dist/Chunk.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type JsChunk, type JsCompilation } from "@rspack/binding";
|
|
2
2
|
import { ChunkGroup } from "./ChunkGroup";
|
|
3
|
+
import { Compilation } from ".";
|
|
3
4
|
export declare class Chunk {
|
|
4
5
|
#private;
|
|
5
6
|
name?: string;
|
|
@@ -15,6 +16,7 @@ export declare class Chunk {
|
|
|
15
16
|
renderedHash?: string;
|
|
16
17
|
chunkReasons: Array<string>;
|
|
17
18
|
auxiliaryFiles: Array<string>;
|
|
19
|
+
static __from_binding(chunk: JsChunk, compilation: Compilation): Chunk;
|
|
18
20
|
static __from_binding(chunk: JsChunk, compilation: JsCompilation): Chunk;
|
|
19
21
|
constructor(chunk: JsChunk, compilation: JsCompilation);
|
|
20
22
|
isOnlyInitial(): boolean;
|
package/dist/Chunk.js
CHANGED
|
@@ -16,8 +16,12 @@ exports.Chunk = void 0;
|
|
|
16
16
|
const binding_1 = require("@rspack/binding");
|
|
17
17
|
const ChunkGroup_1 = require("./ChunkGroup");
|
|
18
18
|
const comparators_1 = require("./util/comparators");
|
|
19
|
+
const _1 = require(".");
|
|
19
20
|
class Chunk {
|
|
20
21
|
static __from_binding(chunk, compilation) {
|
|
22
|
+
if (compilation instanceof _1.Compilation) {
|
|
23
|
+
return new Chunk(chunk, compilation.__internal_getInner());
|
|
24
|
+
}
|
|
21
25
|
return new Chunk(chunk, compilation);
|
|
22
26
|
}
|
|
23
27
|
constructor(chunk, compilation) {
|
package/dist/Compilation.d.ts
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import * as tapable from "tapable";
|
|
12
12
|
import { Source } from "webpack-sources";
|
|
13
|
-
import type { ExternalObject, JsAssetInfo,
|
|
14
|
-
import { RspackOptionsNormalized, StatsOptions, OutputNormalized, StatsValue, RspackPluginInstance } from "./config";
|
|
13
|
+
import type { ExternalObject, JsAssetInfo, JsCompilation, JsModule, JsRuntimeModule, JsStatsChunk, JsStatsError, PathData } from "@rspack/binding";
|
|
14
|
+
import { RspackOptionsNormalized, StatsOptions, OutputNormalized, StatsValue, RspackPluginInstance, Filename } from "./config";
|
|
15
15
|
import * as liteTapable from "./lite-tapable";
|
|
16
16
|
import { ContextModuleFactory } from "./ContextModuleFactory";
|
|
17
17
|
import ResolverFactory from "./ResolverFactory";
|
|
@@ -21,10 +21,9 @@ import { NormalModuleFactory } from "./NormalModuleFactory";
|
|
|
21
21
|
import { Stats } from "./Stats";
|
|
22
22
|
import { StatsFactory } from "./stats/StatsFactory";
|
|
23
23
|
import { StatsPrinter } from "./stats/StatsPrinter";
|
|
24
|
-
import { NormalizedJsModule } from "./util/normalization";
|
|
25
24
|
import MergeCaller from "./util/MergeCaller";
|
|
26
25
|
import { Chunk } from "./Chunk";
|
|
27
|
-
import { CodeGenerationResult } from "./Module";
|
|
26
|
+
import { CodeGenerationResult, Module } from "./Module";
|
|
28
27
|
import { ChunkGraph } from "./ChunkGraph";
|
|
29
28
|
import { Entrypoint } from "./Entrypoint";
|
|
30
29
|
export type AssetInfo = Partial<JsAssetInfo> & Record<string, any>;
|
|
@@ -64,33 +63,33 @@ export declare class Compilation {
|
|
|
64
63
|
#private;
|
|
65
64
|
hooks: {
|
|
66
65
|
processAssets: liteTapable.AsyncSeriesHook<Assets>;
|
|
67
|
-
afterProcessAssets:
|
|
66
|
+
afterProcessAssets: liteTapable.SyncHook<Assets>;
|
|
68
67
|
childCompiler: tapable.SyncHook<[Compiler, string, number]>;
|
|
69
68
|
log: tapable.SyncBailHook<[string, LogEntry], true>;
|
|
70
69
|
additionalAssets: any;
|
|
71
|
-
optimizeModules:
|
|
72
|
-
afterOptimizeModules:
|
|
73
|
-
optimizeTree:
|
|
70
|
+
optimizeModules: liteTapable.SyncBailHook<Iterable<Module>, void>;
|
|
71
|
+
afterOptimizeModules: liteTapable.SyncHook<Iterable<Module>, void>;
|
|
72
|
+
optimizeTree: liteTapable.AsyncSeriesHook<[
|
|
74
73
|
Iterable<Chunk>,
|
|
75
|
-
Iterable<
|
|
76
|
-
]
|
|
77
|
-
optimizeChunkModules:
|
|
74
|
+
Iterable<Module>
|
|
75
|
+
]>;
|
|
76
|
+
optimizeChunkModules: liteTapable.AsyncSeriesBailHook<[
|
|
78
77
|
Iterable<Chunk>,
|
|
79
|
-
Iterable<
|
|
78
|
+
Iterable<Module>
|
|
80
79
|
], void>;
|
|
81
|
-
finishModules:
|
|
82
|
-
chunkAsset:
|
|
80
|
+
finishModules: liteTapable.AsyncSeriesHook<[Iterable<Module>], void>;
|
|
81
|
+
chunkAsset: liteTapable.SyncHook<[Chunk, string], void>;
|
|
83
82
|
processWarnings: tapable.SyncWaterfallHook<[Error[]]>;
|
|
84
|
-
succeedModule:
|
|
85
|
-
stillValidModule:
|
|
83
|
+
succeedModule: liteTapable.SyncHook<[Module], void>;
|
|
84
|
+
stillValidModule: liteTapable.SyncHook<[Module], void>;
|
|
86
85
|
statsFactory: tapable.SyncHook<[StatsFactory, StatsOptions], void>;
|
|
87
86
|
statsPrinter: tapable.SyncHook<[StatsPrinter, StatsOptions], void>;
|
|
88
|
-
buildModule:
|
|
89
|
-
executeModule:
|
|
87
|
+
buildModule: liteTapable.SyncHook<[Module]>;
|
|
88
|
+
executeModule: liteTapable.SyncHook<[
|
|
90
89
|
ExecuteModuleArgument,
|
|
91
90
|
ExecuteModuleContext
|
|
92
91
|
]>;
|
|
93
|
-
runtimeModule:
|
|
92
|
+
runtimeModule: liteTapable.SyncHook<[JsRuntimeModule, Chunk], void>;
|
|
94
93
|
};
|
|
95
94
|
options: RspackOptionsNormalized;
|
|
96
95
|
outputOptions: OutputNormalized;
|
|
@@ -142,13 +141,6 @@ export declare class Compilation {
|
|
|
142
141
|
* @param {AssetInfo | function(AssetInfo): AssetInfo} assetInfoUpdateOrFunction new asset info or function converting old to new
|
|
143
142
|
*/
|
|
144
143
|
updateAsset(filename: string, newSourceOrFunction: Source | ((source: Source) => Source), assetInfoUpdateOrFunction: AssetInfo | ((assetInfo: AssetInfo) => AssetInfo)): void;
|
|
145
|
-
/**
|
|
146
|
-
*
|
|
147
|
-
* @param moduleIdentifier moduleIdentifier of the module you want to modify
|
|
148
|
-
* @param source
|
|
149
|
-
* @returns true if the setting is success, false if failed.
|
|
150
|
-
*/
|
|
151
|
-
setNoneAstModuleSource(moduleIdentifier: string, source: JsCompatSource): boolean;
|
|
152
144
|
/**
|
|
153
145
|
* Emit an not existing asset. Trying to emit an asset that already exists will throw an error.
|
|
154
146
|
*
|
|
@@ -197,10 +189,10 @@ export declare class Compilation {
|
|
|
197
189
|
};
|
|
198
190
|
};
|
|
199
191
|
};
|
|
200
|
-
getPath(filename:
|
|
201
|
-
getPathWithInfo(filename:
|
|
202
|
-
getAssetPath(filename:
|
|
203
|
-
getAssetPathWithInfo(filename:
|
|
192
|
+
getPath(filename: Filename, data?: PathData): string;
|
|
193
|
+
getPathWithInfo(filename: Filename, data?: PathData): import("@rspack/binding").PathWithInfo;
|
|
194
|
+
getAssetPath(filename: Filename, data?: PathData): string;
|
|
195
|
+
getAssetPathWithInfo(filename: Filename, data?: PathData): import("@rspack/binding").PathWithInfo;
|
|
204
196
|
getLogger(name: string | (() => string)): Logger;
|
|
205
197
|
fileDependencies: {
|
|
206
198
|
[Symbol.iterator](): Generator<string, void, unknown>;
|
|
@@ -226,7 +218,7 @@ export declare class Compilation {
|
|
|
226
218
|
add: (dep: string) => void;
|
|
227
219
|
addAll: (deps: Iterable<string>) => void;
|
|
228
220
|
};
|
|
229
|
-
get modules():
|
|
221
|
+
get modules(): Module[];
|
|
230
222
|
get chunks(): Chunk[];
|
|
231
223
|
/**
|
|
232
224
|
* Get the named chunks.
|
|
@@ -266,8 +258,8 @@ export declare class Compilation {
|
|
|
266
258
|
__internal__getChunks(): Chunk[];
|
|
267
259
|
getStats(): Stats;
|
|
268
260
|
createChildCompiler(name: string, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler;
|
|
269
|
-
_rebuildModuleCaller: MergeCaller<[string, (err:
|
|
270
|
-
rebuildModule(m:
|
|
261
|
+
_rebuildModuleCaller: MergeCaller<[string, (err: Error, m: Module) => void]>;
|
|
262
|
+
rebuildModule(m: Module, f: (err: Error, m: Module) => void): void;
|
|
271
263
|
/**
|
|
272
264
|
* Get the `Source` of a given asset filename.
|
|
273
265
|
*
|
package/dist/Compilation.js
CHANGED
|
@@ -59,10 +59,10 @@ const StatsPrinter_1 = require("./stats/StatsPrinter");
|
|
|
59
59
|
const util_1 = require("./util");
|
|
60
60
|
const createSource_1 = require("./util/createSource");
|
|
61
61
|
const fake_1 = require("./util/fake");
|
|
62
|
-
const normalization_1 = require("./util/normalization");
|
|
63
62
|
const MergeCaller_1 = __importDefault(require("./util/MergeCaller"));
|
|
64
63
|
const memoize_1 = require("./util/memoize");
|
|
65
64
|
const Chunk_1 = require("./Chunk");
|
|
65
|
+
const Module_1 = require("./Module");
|
|
66
66
|
const ChunkGraph_1 = require("./ChunkGraph");
|
|
67
67
|
const Entrypoint_1 = require("./Entrypoint");
|
|
68
68
|
class Compilation {
|
|
@@ -85,7 +85,7 @@ class Compilation {
|
|
|
85
85
|
for (const [id, callback] of args) {
|
|
86
86
|
const m = modules.find(item => item.moduleIdentifier === id);
|
|
87
87
|
if (m) {
|
|
88
|
-
callback(err, m);
|
|
88
|
+
callback(err, Module_1.Module.__from_binding(m));
|
|
89
89
|
}
|
|
90
90
|
else {
|
|
91
91
|
callback(err || new Error("module no found"), null);
|
|
@@ -129,7 +129,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
|
129
129
|
};
|
|
130
130
|
this.hooks = {
|
|
131
131
|
processAssets: processAssetsHook,
|
|
132
|
-
afterProcessAssets: new
|
|
132
|
+
afterProcessAssets: new liteTapable.SyncHook(["assets"]),
|
|
133
133
|
/** @deprecated */
|
|
134
134
|
additionalAssets: createProcessAssetsHook("additionalAssets", Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL, () => []),
|
|
135
135
|
childCompiler: new tapable.SyncHook([
|
|
@@ -138,23 +138,23 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
|
138
138
|
"compilerIndex"
|
|
139
139
|
]),
|
|
140
140
|
log: new tapable.SyncBailHook(["origin", "logEntry"]),
|
|
141
|
-
optimizeModules: new
|
|
142
|
-
afterOptimizeModules: new
|
|
143
|
-
optimizeTree: new
|
|
144
|
-
optimizeChunkModules: new
|
|
141
|
+
optimizeModules: new liteTapable.SyncBailHook(["modules"]),
|
|
142
|
+
afterOptimizeModules: new liteTapable.SyncBailHook(["modules"]),
|
|
143
|
+
optimizeTree: new liteTapable.AsyncSeriesHook(["chunks", "modules"]),
|
|
144
|
+
optimizeChunkModules: new liteTapable.AsyncSeriesBailHook([
|
|
145
145
|
"chunks",
|
|
146
146
|
"modules"
|
|
147
147
|
]),
|
|
148
|
-
finishModules: new
|
|
149
|
-
chunkAsset: new
|
|
148
|
+
finishModules: new liteTapable.AsyncSeriesHook(["modules"]),
|
|
149
|
+
chunkAsset: new liteTapable.SyncHook(["chunk", "filename"]),
|
|
150
150
|
processWarnings: new tapable.SyncWaterfallHook(["warnings"]),
|
|
151
|
-
succeedModule: new
|
|
152
|
-
stillValidModule: new
|
|
151
|
+
succeedModule: new liteTapable.SyncHook(["module"]),
|
|
152
|
+
stillValidModule: new liteTapable.SyncHook(["module"]),
|
|
153
153
|
statsFactory: new tapable.SyncHook(["statsFactory", "options"]),
|
|
154
154
|
statsPrinter: new tapable.SyncHook(["statsPrinter", "options"]),
|
|
155
|
-
buildModule: new
|
|
156
|
-
executeModule: new
|
|
157
|
-
runtimeModule: new
|
|
155
|
+
buildModule: new liteTapable.SyncHook(["module"]),
|
|
156
|
+
executeModule: new liteTapable.SyncHook(["options", "context"]),
|
|
157
|
+
runtimeModule: new liteTapable.SyncHook(["module", "chunk"])
|
|
158
158
|
};
|
|
159
159
|
this.compiler = compiler;
|
|
160
160
|
this.resolverFactory = compiler.resolverFactory;
|
|
@@ -312,15 +312,6 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
|
312
312
|
? jsAssetInfo => (0, util_1.toJsAssetInfo)(assetInfoUpdateOrFunction(jsAssetInfo))
|
|
313
313
|
: (0, util_1.toJsAssetInfo)(assetInfoUpdateOrFunction));
|
|
314
314
|
}
|
|
315
|
-
/**
|
|
316
|
-
*
|
|
317
|
-
* @param moduleIdentifier moduleIdentifier of the module you want to modify
|
|
318
|
-
* @param source
|
|
319
|
-
* @returns true if the setting is success, false if failed.
|
|
320
|
-
*/
|
|
321
|
-
setNoneAstModuleSource(moduleIdentifier, source) {
|
|
322
|
-
return __classPrivateFieldGet(this, _Compilation_inner, "f").setNoneAstModuleSource(moduleIdentifier, source);
|
|
323
|
-
}
|
|
324
315
|
/**
|
|
325
316
|
* Emit an not existing asset. Trying to emit an asset that already exists will throw an error.
|
|
326
317
|
*
|
|
@@ -549,7 +540,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
|
549
540
|
}
|
|
550
541
|
get modules() {
|
|
551
542
|
return (0, memoize_1.memoizeValue)(() => {
|
|
552
|
-
return this.__internal__getModules().map(item =>
|
|
543
|
+
return this.__internal__getModules().map(item => Module_1.Module.__from_binding(item));
|
|
553
544
|
});
|
|
554
545
|
}
|
|
555
546
|
// FIXME: This is not aligned with Webpack.
|
|
@@ -644,7 +635,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
|
|
|
644
635
|
return this.compiler.createChildCompiler(this, name, idx, outputOptions, plugins);
|
|
645
636
|
}
|
|
646
637
|
rebuildModule(m, f) {
|
|
647
|
-
this._rebuildModuleCaller.push([m.
|
|
638
|
+
this._rebuildModuleCaller.push([m.identifier(), f]);
|
|
648
639
|
}
|
|
649
640
|
/**
|
|
650
641
|
* Get the `Source` of a given asset filename.
|
package/dist/Compiler.d.ts
CHANGED
|
@@ -26,6 +26,14 @@ import { NormalModuleFactory } from "./NormalModuleFactory";
|
|
|
26
26
|
import { WatchFileSystem } from "./util/fs";
|
|
27
27
|
import { Watching } from "./Watching";
|
|
28
28
|
import { FileSystemInfoEntry } from "./FileSystemInfo";
|
|
29
|
+
import { Source } from "webpack-sources";
|
|
30
|
+
export interface AssetEmittedInfo {
|
|
31
|
+
content: Buffer;
|
|
32
|
+
source: Source;
|
|
33
|
+
outputPath: string;
|
|
34
|
+
targetPath: string;
|
|
35
|
+
compilation: Compilation;
|
|
36
|
+
}
|
|
29
37
|
declare class Compiler {
|
|
30
38
|
#private;
|
|
31
39
|
webpack: typeof import("./rspack").rspack & typeof import("./exports") & {
|
|
@@ -71,9 +79,9 @@ declare class Compiler {
|
|
|
71
79
|
infrastructureLog: tapable.SyncBailHook<[string, string, any[]], true>;
|
|
72
80
|
beforeRun: tapable.AsyncSeriesHook<[Compiler]>;
|
|
73
81
|
run: tapable.AsyncSeriesHook<[Compiler]>;
|
|
74
|
-
emit:
|
|
75
|
-
assetEmitted:
|
|
76
|
-
afterEmit:
|
|
82
|
+
emit: liteTapable.AsyncSeriesHook<[Compilation]>;
|
|
83
|
+
assetEmitted: liteTapable.AsyncSeriesHook<[string, AssetEmittedInfo]>;
|
|
84
|
+
afterEmit: liteTapable.AsyncSeriesHook<[Compilation]>;
|
|
77
85
|
failed: tapable.SyncHook<[Error]>;
|
|
78
86
|
shutdown: tapable.AsyncSeriesHook<[]>;
|
|
79
87
|
watchRun: tapable.AsyncSeriesHook<[Compiler]>;
|
|
@@ -85,8 +93,7 @@ declare class Compiler {
|
|
|
85
93
|
make: liteTapable.AsyncParallelHook<[Compilation]>;
|
|
86
94
|
beforeCompile: tapable.AsyncSeriesHook<[CompilationParams]>;
|
|
87
95
|
afterCompile: tapable.AsyncSeriesHook<[Compilation]>;
|
|
88
|
-
|
|
89
|
-
finishMake: tapable.AsyncSeriesHook<[Compilation]>;
|
|
96
|
+
finishMake: liteTapable.AsyncSeriesHook<[Compilation]>;
|
|
90
97
|
entryOption: tapable.SyncBailHook<[string, EntryNormalized], any>;
|
|
91
98
|
};
|
|
92
99
|
options: RspackOptionsNormalized;
|