@rspack/core 0.6.5-canary-5042eed-20240515115707 → 0.6.5-canary-b7b5c75-20240821125908
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 +1 -1
- package/dist/Chunk.js +1 -1
- package/dist/ChunkGroup.d.ts +1 -1
- package/dist/ChunkGroup.js +3 -3
- package/dist/Compilation.d.ts +65 -46
- package/dist/Compilation.js +222 -128
- package/dist/Compiler.d.ts +44 -75
- package/dist/Compiler.js +260 -301
- package/dist/Entrypoint.d.ts +1 -1
- package/dist/Entrypoint.js +1 -1
- package/dist/ExecuteModulePlugin.js +1 -1
- package/dist/Module.js +2 -2
- package/dist/MultiCompiler.d.ts +25 -10
- package/dist/MultiCompiler.js +3 -3
- package/dist/MultiStats.d.ts +1 -1
- package/dist/NormalModuleFactory.d.ts +1 -1
- package/dist/Stats.d.ts +2 -2
- package/dist/Watching.d.ts +9 -1
- package/dist/Watching.js +2 -15
- package/dist/builtin-loader/swc/index.d.ts +6 -6
- package/dist/builtin-loader/swc/index.js +3 -3
- package/dist/builtin-loader/swc/types.d.ts +2 -2
- 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 +2 -2
- package/dist/builtin-plugin/BannerPlugin.js +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/EnableLibraryPlugin.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/EntryPlugin.js +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 +2 -2
- package/dist/builtin-plugin/HtmlRspackPlugin.js +2 -2
- 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/JsLoaderRspackPlugin.js +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/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.d.ts +2 -2
- package/dist/builtin-plugin/SplitChunksPlugin.js +4 -4
- 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.d.ts +2 -2
- package/dist/builtin-plugin/base.d.ts +1 -1
- package/dist/builtin-plugin/base.js +1 -1
- package/dist/builtin-plugin/css-extract/index.d.ts +4 -5
- package/dist/builtin-plugin/css-extract/loader.d.ts +1 -1
- package/dist/builtin-plugin/css-extract/loader.js +2 -2
- package/dist/builtin-plugin/index.d.ts +43 -44
- package/dist/builtin-plugin/index.js +43 -44
- package/dist/config/adapter.d.ts +2 -2
- package/dist/config/adapter.js +5 -6
- package/dist/config/adapterRuleUse.d.ts +1 -2
- package/dist/config/adapterRuleUse.js +2 -2
- package/dist/config/defaults.js +4 -6
- package/dist/config/index.d.ts +2 -2
- package/dist/config/index.js +2 -2
- package/dist/config/normalization.d.ts +3 -2
- package/dist/config/normalization.js +1 -2
- package/dist/config/zod.d.ts +192 -328
- package/dist/config/zod.js +29 -17
- package/dist/container/ContainerPlugin.d.ts +1 -1
- package/dist/container/ContainerReferencePlugin.d.ts +1 -1
- package/dist/container/ContainerReferencePlugin.js +1 -1
- package/dist/container/ModuleFederationPlugin.js +1 -1
- package/dist/container/ModuleFederationPluginV1.d.ts +1 -1
- package/dist/container/ModuleFederationPluginV1.js +1 -1
- package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
- package/dist/exports.d.ts +30 -32
- package/dist/exports.js +17 -15
- package/dist/fileSystem.d.ts +8 -12
- package/dist/fileSystem.js +48 -25
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/loader-runner/index.js +13 -13
- package/dist/logging/Logger.d.ts +1 -1
- package/dist/logging/createConsoleLogger.js +14 -0
- package/dist/node/NodeEnvironmentPlugin.d.ts +1 -1
- package/dist/node/NodeEnvironmentPlugin.js +1 -1
- package/dist/node/nodeConsole.js +4 -0
- package/dist/rspack.d.ts +13 -4
- package/dist/rspack.js +8 -8
- package/dist/rspackOptionsApply.d.ts +10 -1
- package/dist/rspackOptionsApply.js +6 -34
- package/dist/sharing/ConsumeSharedPlugin.d.ts +1 -1
- package/dist/sharing/ConsumeSharedPlugin.js +1 -1
- package/dist/stats/DefaultStatsFactoryPlugin.js +2 -2
- package/dist/stats/StatsFactory.d.ts +2 -2
- package/dist/stats/StatsFactory.js +9 -0
- package/dist/stats/StatsPrinter.d.ts +1 -1
- package/dist/stats/statsFactoryUtils.d.ts +1 -1
- package/dist/util/comparators.d.ts +1 -1
- package/dist/util/createSource.d.ts +5 -0
- package/dist/util/createSource.js +65 -0
- package/dist/util/fs.d.ts +0 -64
- package/dist/util/fs.js +0 -122
- package/dist/util/index.d.ts +1 -2
- package/dist/util/index.js +11 -16
- package/package.json +4 -4
- package/dist/builtin-plugin/lazy-compilation/backend.d.ts +0 -50
- package/dist/builtin-plugin/lazy-compilation/backend.js +0 -139
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +0 -30
- package/dist/builtin-plugin/lazy-compilation/lazyCompilation.js +0 -6
- package/dist/builtin-plugin/lazy-compilation/plugin.d.ts +0 -13
- package/dist/builtin-plugin/lazy-compilation/plugin.js +0 -60
- package/dist/util/source.d.ts +0 -18
- package/dist/util/source.js +0 -66
package/dist/Chunk.d.ts
CHANGED
package/dist/Chunk.js
CHANGED
|
@@ -14,9 +14,9 @@ var _Chunk_inner, _Chunk_inner_compilation;
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.Chunk = void 0;
|
|
16
16
|
const binding_1 = require("@rspack/binding");
|
|
17
|
-
const _1 = require(".");
|
|
18
17
|
const ChunkGroup_1 = require("./ChunkGroup");
|
|
19
18
|
const comparators_1 = require("./util/comparators");
|
|
19
|
+
const _1 = require(".");
|
|
20
20
|
class Chunk {
|
|
21
21
|
static __from_binding(chunk, compilation) {
|
|
22
22
|
if (compilation instanceof _1.Compilation) {
|
package/dist/ChunkGroup.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ export declare class ChunkGroup {
|
|
|
6
6
|
protected constructor(inner: JsChunkGroup, compilation: JsCompilation);
|
|
7
7
|
getFiles(): string[];
|
|
8
8
|
getParents(): ChunkGroup[];
|
|
9
|
-
get chunks(): Chunk[];
|
|
10
9
|
get index(): number | undefined;
|
|
11
10
|
get name(): string | undefined;
|
|
11
|
+
get chunks(): Chunk[];
|
|
12
12
|
__internal_inner_ukey(): number;
|
|
13
13
|
__internal_inner_compilation(): JsCompilation;
|
|
14
14
|
}
|
package/dist/ChunkGroup.js
CHANGED
|
@@ -40,15 +40,15 @@ class ChunkGroup {
|
|
|
40
40
|
return ChunkGroup.__from_binding(cg, __classPrivateFieldGet(this, _ChunkGroup_inner_compilation, "f"));
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
get chunks() {
|
|
44
|
-
return __classPrivateFieldGet(this, _ChunkGroup_inner, "f").chunks.map(c => Chunk_1.Chunk.__from_binding(c, __classPrivateFieldGet(this, _ChunkGroup_inner_compilation, "f")));
|
|
45
|
-
}
|
|
46
43
|
get index() {
|
|
47
44
|
return __classPrivateFieldGet(this, _ChunkGroup_inner, "f").index;
|
|
48
45
|
}
|
|
49
46
|
get name() {
|
|
50
47
|
return __classPrivateFieldGet(this, _ChunkGroup_inner, "f").name;
|
|
51
48
|
}
|
|
49
|
+
get chunks() {
|
|
50
|
+
return __classPrivateFieldGet(this, _ChunkGroup_inner, "f").chunks.map(c => Chunk_1.Chunk.__from_binding(c, __classPrivateFieldGet(this, _ChunkGroup_inner_compilation, "f")));
|
|
51
|
+
}
|
|
52
52
|
__internal_inner_ukey() {
|
|
53
53
|
return __classPrivateFieldGet(this, _ChunkGroup_inner, "f").__inner_ukey;
|
|
54
54
|
}
|
package/dist/Compilation.d.ts
CHANGED
|
@@ -8,24 +8,24 @@
|
|
|
8
8
|
* Copyright (c) JS Foundation and other contributors
|
|
9
9
|
* https://github.com/webpack/webpack/blob/main/LICENSE
|
|
10
10
|
*/
|
|
11
|
-
import type { ExternalObject, JsAssetInfo, JsCompilation, JsModule, JsPathData, JsRuntimeModule, JsStatsError, JsStatsWarning } from "@rspack/binding";
|
|
12
11
|
import * as tapable from "tapable";
|
|
13
12
|
import { Source } from "webpack-sources";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
13
|
+
import type { ExternalObject, JsAssetInfo, JsCompilation, JsModule, JsRuntimeModule, JsStatsChunk, JsPathData, JsStatsWarning } from "@rspack/binding";
|
|
14
|
+
import { RspackOptionsNormalized, StatsOptions, OutputNormalized, StatsValue, RspackPluginInstance, Filename } from "./config";
|
|
16
15
|
import * as liteTapable from "./lite-tapable";
|
|
16
|
+
import { ContextModuleFactory } from "./ContextModuleFactory";
|
|
17
17
|
import ResolverFactory = require("./ResolverFactory");
|
|
18
|
-
import { Chunk } from "./Chunk";
|
|
19
|
-
import { ChunkGraph } from "./ChunkGraph";
|
|
20
18
|
import { Compiler } from "./Compiler";
|
|
21
|
-
import { Entrypoint } from "./Entrypoint";
|
|
22
19
|
import { Logger } from "./logging/Logger";
|
|
23
|
-
import { CodeGenerationResult, Module } from "./Module";
|
|
24
20
|
import { NormalModuleFactory } from "./NormalModuleFactory";
|
|
25
21
|
import { Stats } from "./Stats";
|
|
26
22
|
import { StatsFactory } from "./stats/StatsFactory";
|
|
27
23
|
import { StatsPrinter } from "./stats/StatsPrinter";
|
|
28
24
|
import MergeCaller from "./util/MergeCaller";
|
|
25
|
+
import { Chunk } from "./Chunk";
|
|
26
|
+
import { CodeGenerationResult, Module } from "./Module";
|
|
27
|
+
import { ChunkGraph } from "./ChunkGraph";
|
|
28
|
+
import { Entrypoint } from "./Entrypoint";
|
|
29
29
|
export type AssetInfo = Partial<JsAssetInfo> & Record<string, any>;
|
|
30
30
|
export type Assets = Record<string, Source>;
|
|
31
31
|
export interface Asset {
|
|
@@ -93,16 +93,16 @@ export declare class Compilation {
|
|
|
93
93
|
runtimeModule: liteTapable.SyncHook<[JsRuntimeModule, Chunk], void>;
|
|
94
94
|
afterSeal: liteTapable.AsyncSeriesHook<[], void>;
|
|
95
95
|
};
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
endTime?: number;
|
|
96
|
+
options: RspackOptionsNormalized;
|
|
97
|
+
outputOptions: OutputNormalized;
|
|
99
98
|
compiler: Compiler;
|
|
100
99
|
resolverFactory: ResolverFactory;
|
|
101
100
|
inputFileSystem: any;
|
|
102
|
-
options: RspackOptionsNormalized;
|
|
103
|
-
outputOptions: OutputNormalized;
|
|
104
101
|
logging: Map<string, LogEntry[]>;
|
|
102
|
+
name?: string;
|
|
105
103
|
childrenCounters: Record<string, number>;
|
|
104
|
+
startTime?: number;
|
|
105
|
+
endTime?: number;
|
|
106
106
|
children: Compilation[];
|
|
107
107
|
chunkGraph: ChunkGraph;
|
|
108
108
|
fileSystemInfo: {
|
|
@@ -118,20 +118,14 @@ export declare class Compilation {
|
|
|
118
118
|
get fullHash(): string | null;
|
|
119
119
|
/**
|
|
120
120
|
* Get a map of all assets.
|
|
121
|
+
*
|
|
122
|
+
* Source: [assets](https://github.com/webpack/webpack/blob/9fcaa243573005d6fdece9a3f8d89a0e8b399613/lib/Compilation.js#L1008-L1009)
|
|
121
123
|
*/
|
|
122
124
|
get assets(): Record<string, Source>;
|
|
123
125
|
/**
|
|
124
126
|
* Get a map of all entrypoints.
|
|
125
127
|
*/
|
|
126
128
|
get entrypoints(): ReadonlyMap<string, Entrypoint>;
|
|
127
|
-
get modules(): Module[];
|
|
128
|
-
get chunks(): Chunk[];
|
|
129
|
-
/**
|
|
130
|
-
* Get the named chunks.
|
|
131
|
-
*
|
|
132
|
-
* Note: This is a proxy for webpack internal API, only method `get` is supported now.
|
|
133
|
-
*/
|
|
134
|
-
get namedChunks(): Map<string, Readonly<Chunk>>;
|
|
135
129
|
getCache(name: string): import("./lib/CacheFacade");
|
|
136
130
|
createStatsOptions(optionsOrPreset: StatsValue | undefined, context?: CreateStatsOptionsContext): StatsOptions;
|
|
137
131
|
createStatsFactory(options: StatsOptions): StatsFactory;
|
|
@@ -139,12 +133,18 @@ export declare class Compilation {
|
|
|
139
133
|
/**
|
|
140
134
|
* Update an existing asset. Trying to update an asset that doesn't exist will throw an error.
|
|
141
135
|
*
|
|
136
|
+
* See: [Compilation.updateAsset](https://webpack.js.org/api/compilation-object/#updateasset)
|
|
137
|
+
* Source: [updateAsset](https://github.com/webpack/webpack/blob/9fcaa243573005d6fdece9a3f8d89a0e8b399613/lib/Compilation.js#L4320)
|
|
138
|
+
*
|
|
142
139
|
* FIXME: *AssetInfo* may be undefined in update fn for webpack impl, but still not implemented in rspack
|
|
143
140
|
*/
|
|
144
141
|
updateAsset(filename: string, newSourceOrFunction: Source | ((source: Source) => Source), assetInfoUpdateOrFunction?: AssetInfo | ((assetInfo: AssetInfo) => AssetInfo)): void;
|
|
145
142
|
/**
|
|
146
143
|
* Emit an not existing asset. Trying to emit an asset that already exists will throw an error.
|
|
147
144
|
*
|
|
145
|
+
* See: [Compilation.emitAsset](https://webpack.js.org/api/compilation-object/#emitasset)
|
|
146
|
+
* Source: [emitAsset](https://github.com/webpack/webpack/blob/9fcaa243573005d6fdece9a3f8d89a0e8b399613/lib/Compilation.js#L4239)
|
|
147
|
+
*
|
|
148
148
|
* @param file - file name
|
|
149
149
|
* @param source - asset source
|
|
150
150
|
* @param assetInfo - extra asset information
|
|
@@ -154,22 +154,15 @@ export declare class Compilation {
|
|
|
154
154
|
renameAsset(filename: string, newFilename: string): void;
|
|
155
155
|
/**
|
|
156
156
|
* Get an array of Asset
|
|
157
|
-
*/
|
|
158
|
-
getAssets(): ReadonlyArray<Asset>;
|
|
159
|
-
getAsset(name: string): Readonly<Asset> | void;
|
|
160
|
-
/**
|
|
161
|
-
* Note: This is not a webpack public API, maybe removed in future.
|
|
162
|
-
*
|
|
163
|
-
* @internal
|
|
164
|
-
*/
|
|
165
|
-
__internal__pushDiagnostic(severity: "error" | "warning", title: string, message: string): void;
|
|
166
|
-
/**
|
|
167
|
-
* Note: This is not a webpack public API, maybe removed in future.
|
|
168
157
|
*
|
|
169
|
-
*
|
|
158
|
+
* See: [Compilation.getAssets](https://webpack.js.org/api/compilation-object/#getassets)
|
|
159
|
+
* Source: [getAssets](https://github.com/webpack/webpack/blob/9fcaa243573005d6fdece9a3f8d89a0e8b399613/lib/Compilation.js#L4448)
|
|
170
160
|
*/
|
|
171
|
-
|
|
172
|
-
|
|
161
|
+
getAssets(): Readonly<Asset>[];
|
|
162
|
+
getAsset(name: string): Asset | void;
|
|
163
|
+
pushDiagnostic(severity: "error" | "warning", title: string, message: string): void;
|
|
164
|
+
__internal__pushNativeDiagnostics(diagnostics: ExternalObject<any>): void;
|
|
165
|
+
get errors(): any;
|
|
173
166
|
get warnings(): JsStatsWarning[];
|
|
174
167
|
getPath(filename: Filename, data?: PathData): string;
|
|
175
168
|
getPathWithInfo(filename: Filename, data?: PathData): import("@rspack/binding").PathWithInfo;
|
|
@@ -200,6 +193,44 @@ export declare class Compilation {
|
|
|
200
193
|
add: (dep: string) => void;
|
|
201
194
|
addAll: (deps: Iterable<string>) => void;
|
|
202
195
|
};
|
|
196
|
+
get modules(): Module[];
|
|
197
|
+
get chunks(): Chunk[];
|
|
198
|
+
/**
|
|
199
|
+
* Get the named chunks.
|
|
200
|
+
*
|
|
201
|
+
* Note: This is a proxy for webpack internal API, only method `get` is supported now.
|
|
202
|
+
*/
|
|
203
|
+
get namedChunks(): Map<string, Readonly<Chunk>>;
|
|
204
|
+
/**
|
|
205
|
+
* Get the associated `modules` of an given chunk.
|
|
206
|
+
*
|
|
207
|
+
* Note: This is not a webpack public API, maybe removed in future.
|
|
208
|
+
*
|
|
209
|
+
* @internal
|
|
210
|
+
*/
|
|
211
|
+
__internal__getAssociatedModules(chunk: JsStatsChunk): any[] | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Find a modules in an array.
|
|
214
|
+
*
|
|
215
|
+
* Note: This is not a webpack public API, maybe removed in future.
|
|
216
|
+
*
|
|
217
|
+
* @internal
|
|
218
|
+
*/
|
|
219
|
+
__internal__findJsModule(identifier: string, modules: Map<string, JsModule>): JsModule | undefined;
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* Note: This is not a webpack public API, maybe removed in future.
|
|
223
|
+
*
|
|
224
|
+
* @internal
|
|
225
|
+
*/
|
|
226
|
+
__internal__getModules(): JsModule[];
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* Note: This is not a webpack public API, maybe removed in future.
|
|
230
|
+
*
|
|
231
|
+
* @internal
|
|
232
|
+
*/
|
|
233
|
+
__internal__getChunks(): Chunk[];
|
|
203
234
|
getStats(): Stats;
|
|
204
235
|
createChildCompiler(name: string, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler;
|
|
205
236
|
_rebuildModuleCaller: MergeCaller<[string, (err: Error, m: Module) => void]>;
|
|
@@ -244,18 +275,6 @@ export declare class Compilation {
|
|
|
244
275
|
* @internal
|
|
245
276
|
*/
|
|
246
277
|
__internal__hasAsset(name: string): boolean;
|
|
247
|
-
/**
|
|
248
|
-
* Note: This is not a webpack public API, maybe removed in future.
|
|
249
|
-
*
|
|
250
|
-
* @internal
|
|
251
|
-
*/
|
|
252
|
-
__internal__getModules(): JsModule[];
|
|
253
|
-
/**
|
|
254
|
-
* Note: This is not a webpack public API, maybe removed in future.
|
|
255
|
-
*
|
|
256
|
-
* @internal
|
|
257
|
-
*/
|
|
258
|
-
__internal__getChunks(): Chunk[];
|
|
259
278
|
__internal_getInner(): JsCompilation;
|
|
260
279
|
seal(): void;
|
|
261
280
|
unseal(): void;
|