@rspack/core 0.6.1-canary-73a9832-20240414004901 → 0.6.1-canary-a6841aa-20240417004703

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.
Files changed (78) hide show
  1. package/dist/Compilation.d.ts +6 -6
  2. package/dist/Compilation.js +3 -4
  3. package/dist/Compiler.d.ts +5 -5
  4. package/dist/Compiler.js +8 -8
  5. package/dist/MultiCompiler.d.ts +8 -18
  6. package/dist/MultiCompiler.js +7 -17
  7. package/dist/MultiWatching.d.ts +2 -10
  8. package/dist/MultiWatching.js +2 -10
  9. package/dist/RuntimeGlobals.d.ts +10 -10
  10. package/dist/RuntimeGlobals.js +10 -10
  11. package/dist/builtin-plugin/APIPlugin.d.ts +1 -1
  12. package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +1 -1
  13. package/dist/builtin-plugin/AssetModulesPlugin.d.ts +1 -1
  14. package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +1 -1
  15. package/dist/builtin-plugin/BannerPlugin.d.ts +1 -1
  16. package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +1 -1
  17. package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +1 -1
  18. package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +1 -1
  19. package/dist/builtin-plugin/CopyRspackPlugin.d.ts +1 -1
  20. package/dist/builtin-plugin/CssModulesPlugin.d.ts +1 -1
  21. package/dist/builtin-plugin/DataUriPlugin.d.ts +1 -1
  22. package/dist/builtin-plugin/DefinePlugin.d.ts +1 -1
  23. package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +1 -1
  24. package/dist/builtin-plugin/DeterministicModuleIdsPlugin.d.ts +1 -1
  25. package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +1 -1
  26. package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
  27. package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +1 -1
  28. package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +1 -1
  29. package/dist/builtin-plugin/EntryPlugin.d.ts +1 -1
  30. package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +1 -1
  31. package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +1 -1
  32. package/dist/builtin-plugin/ExternalsPlugin.d.ts +3 -3
  33. package/dist/builtin-plugin/FileUriPlugin.d.ts +1 -1
  34. package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +1 -1
  35. package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +1 -1
  36. package/dist/builtin-plugin/HtmlRspackPlugin.d.ts +1 -1
  37. package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +1 -1
  38. package/dist/builtin-plugin/IgnorePlugin.d.ts +8 -3
  39. package/dist/builtin-plugin/IgnorePlugin.js +15 -1
  40. package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +1 -1
  41. package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +1 -1
  42. package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
  43. package/dist/builtin-plugin/JsonModulesPlugin.d.ts +1 -1
  44. package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +1 -1
  45. package/dist/builtin-plugin/MangleExportsPlugin.d.ts +1 -1
  46. package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +1 -1
  47. package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +1 -1
  48. package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +1 -1
  49. package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +1 -1
  50. package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +1 -1
  51. package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -1
  52. package/dist/builtin-plugin/ProgressPlugin.d.ts +1 -1
  53. package/dist/builtin-plugin/ProvidePlugin.d.ts +1 -1
  54. package/dist/builtin-plugin/RealContentHashPlugin.d.ts +1 -1
  55. package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +1 -1
  56. package/dist/builtin-plugin/RuntimePlugin.d.ts +1 -1
  57. package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +1 -1
  58. package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +1 -1
  59. package/dist/builtin-plugin/SourceMapDevToolPlugin.js +1 -1
  60. package/dist/builtin-plugin/SwcCssMinimizerPlugin.d.ts +1 -1
  61. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +2 -2
  62. package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -1
  63. package/dist/builtin-plugin/WebWorkerTemplatePlugin.d.ts +1 -1
  64. package/dist/builtin-plugin/base.d.ts +1 -1
  65. package/dist/config/adapter.js +1 -0
  66. package/dist/config/adapterRuleUse.d.ts +1 -1
  67. package/dist/config/defaults.js +2 -2
  68. package/dist/config/normalization.d.ts +2 -2
  69. package/dist/config/zod.d.ts +125 -67
  70. package/dist/config/zod.js +1 -0
  71. package/dist/container/ContainerReferencePlugin.d.ts +1 -1
  72. package/dist/exports.d.ts +44 -846
  73. package/dist/exports.js +6 -4
  74. package/dist/lib/ModuleFilenameHelpers.d.ts +44 -6
  75. package/dist/lib/ModuleFilenameHelpers.js +50 -26
  76. package/package.json +7 -5
  77. package/dist/ModuleFilenameHelpers.d.ts +0 -44
  78. package/dist/ModuleFilenameHelpers.js +0 -76
@@ -10,11 +10,11 @@
10
10
  */
11
11
  import * as tapable from "tapable";
12
12
  import { Source } from "webpack-sources";
13
- import type { ExternalObject, JsAssetInfo, JsCompilation, JsModule, JsRuntimeModule, JsStatsChunk, JsStatsError, PathData } from "@rspack/binding";
13
+ import type { ExternalObject, JsAssetInfo, JsCompilation, JsModule, JsRuntimeModule, JsStatsChunk, JsStatsError, JsPathData } from "@rspack/binding";
14
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
- import ResolverFactory from "./ResolverFactory";
17
+ import ResolverFactory = require("./ResolverFactory");
18
18
  import { Compiler } from "./Compiler";
19
19
  import { Logger } from "./logging/Logger";
20
20
  import { NormalModuleFactory } from "./NormalModuleFactory";
@@ -33,6 +33,7 @@ export interface Asset {
33
33
  source: Source;
34
34
  info: JsAssetInfo;
35
35
  }
36
+ export type PathData = JsPathData;
36
37
  export interface LogEntry {
37
38
  type: string;
38
39
  args: any[];
@@ -144,10 +145,9 @@ export declare class Compilation {
144
145
  * See: [Compilation.emitAsset](https://webpack.js.org/api/compilation-object/#emitasset)
145
146
  * Source: [emitAsset](https://github.com/webpack/webpack/blob/9fcaa243573005d6fdece9a3f8d89a0e8b399613/lib/Compilation.js#L4239)
146
147
  *
147
- * @param {string} file file name
148
- * @param {Source} source asset source
149
- * @param {JsAssetInfo} assetInfo extra asset information
150
- * @returns {void}
148
+ * @param file - file name
149
+ * @param source - asset source
150
+ * @param assetInfo - extra asset information
151
151
  */
152
152
  emitAsset(filename: string, source: Source, assetInfo?: AssetInfo): void;
153
153
  deleteAsset(filename: string): void;
@@ -318,10 +318,9 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
318
318
  * See: [Compilation.emitAsset](https://webpack.js.org/api/compilation-object/#emitasset)
319
319
  * Source: [emitAsset](https://github.com/webpack/webpack/blob/9fcaa243573005d6fdece9a3f8d89a0e8b399613/lib/Compilation.js#L4239)
320
320
  *
321
- * @param {string} file file name
322
- * @param {Source} source asset source
323
- * @param {JsAssetInfo} assetInfo extra asset information
324
- * @returns {void}
321
+ * @param file - file name
322
+ * @param source - asset source
323
+ * @param assetInfo - extra asset information
325
324
  */
326
325
  emitAsset(filename, source, assetInfo) {
327
326
  __classPrivateFieldGet(this, _Compilation_inner, "f").emitAsset(filename, (0, createSource_1.createRawFromSource)(source), (0, util_1.toJsAssetInfo)(assetInfo));
@@ -18,9 +18,9 @@ import { RuleSetCompiler } from "./RuleSetCompiler";
18
18
  import { Stats } from "./Stats";
19
19
  import { Compilation, CompilationParams } from "./Compilation";
20
20
  import { ContextModuleFactory } from "./ContextModuleFactory";
21
- import ResolverFactory from "./ResolverFactory";
22
- import Cache from "./lib/Cache";
23
- import CacheFacade from "./lib/CacheFacade";
21
+ import ResolverFactory = require("./ResolverFactory");
22
+ import Cache = require("./lib/Cache");
23
+ import CacheFacade = require("./lib/CacheFacade");
24
24
  import { Logger } from "./logging/Logger";
25
25
  import { NormalModuleFactory } from "./NormalModuleFactory";
26
26
  import { WatchFileSystem } from "./util/fs";
@@ -99,8 +99,8 @@ declare class Compiler {
99
99
  parentCompilation?: Compilation;
100
100
  constructor(context: string, options: RspackOptionsNormalized);
101
101
  /**
102
- * @param {string} name cache name
103
- * @returns {CacheFacade} the cache facade instance
102
+ * @param name - cache name
103
+ * @returns the cache facade instance
104
104
  */
105
105
  getCache(name: string): CacheFacade;
106
106
  createChildCompiler(compilation: Compilation, compilerName: string, compilerIndex: number, outputOptions: OutputNormalized, plugins: RspackPluginInstance[]): Compiler;
package/dist/Compiler.js CHANGED
@@ -59,11 +59,11 @@ const RuleSetCompiler_1 = require("./RuleSetCompiler");
59
59
  const Stats_1 = require("./Stats");
60
60
  const Compilation_1 = require("./Compilation");
61
61
  const ContextModuleFactory_1 = require("./ContextModuleFactory");
62
- const ResolverFactory_1 = __importDefault(require("./ResolverFactory"));
62
+ const ResolverFactory = require("./ResolverFactory");
63
63
  const ConcurrentCompilationError_1 = __importDefault(require("./error/ConcurrentCompilationError"));
64
64
  const fileSystem_1 = require("./fileSystem");
65
- const Cache_1 = __importDefault(require("./lib/Cache"));
66
- const CacheFacade_1 = __importDefault(require("./lib/CacheFacade"));
65
+ const Cache = require("./lib/Cache");
66
+ const CacheFacade = require("./lib/CacheFacade");
67
67
  const Logger_1 = require("./logging/Logger");
68
68
  const NormalModuleFactory_1 = require("./NormalModuleFactory");
69
69
  const bindingVersionCheck_1 = require("./util/bindingVersionCheck");
@@ -90,7 +90,7 @@ class Compiler {
90
90
  _Compiler_moduleExecutionResultsMap.set(this, void 0);
91
91
  this.outputFileSystem = fs_1.default;
92
92
  this.options = options;
93
- this.cache = new Cache_1.default();
93
+ this.cache = new Cache();
94
94
  this.compilerPath = "";
95
95
  this.builtinPlugins = [];
96
96
  this.root = this;
@@ -98,7 +98,7 @@ class Compiler {
98
98
  this.running = false;
99
99
  this.idle = false;
100
100
  this.context = context;
101
- this.resolverFactory = new ResolverFactory_1.default();
101
+ this.resolverFactory = new ResolverFactory();
102
102
  this.modifiedFiles = undefined;
103
103
  this.removedFiles = undefined;
104
104
  this.hooks = {
@@ -148,11 +148,11 @@ class Compiler {
148
148
  new ExecuteModulePlugin_1.default().apply(this);
149
149
  }
150
150
  /**
151
- * @param {string} name cache name
152
- * @returns {CacheFacade} the cache facade instance
151
+ * @param name - cache name
152
+ * @returns the cache facade instance
153
153
  */
154
154
  getCache(name) {
155
- return new CacheFacade_1.default(this.cache, `${this.compilerPath}${name}`, this.options.output.hashFunction);
155
+ return new CacheFacade(this.cache, `${this.compilerPath}${name}`, this.options.output.hashFunction);
156
156
  }
157
157
  createChildCompiler(compilation, compilerName, compilerIndex, outputOptions, plugins) {
158
158
  const options = {
@@ -8,7 +8,7 @@
8
8
  * https://github.com/webpack/webpack/blob/main/LICENSE
9
9
  */
10
10
  import { Compiler, RspackOptions } from ".";
11
- import ResolverFactory from "./ResolverFactory";
11
+ import ResolverFactory = require("./ResolverFactory");
12
12
  import { WatchFileSystem } from "./util/fs";
13
13
  import { Watching } from "./Watching";
14
14
  import { AsyncSeriesHook, Callback, MultiHook, SyncHook } from "tapable";
@@ -55,35 +55,25 @@ export declare class MultiCompiler {
55
55
  get outputFileSystem(): typeof import("fs");
56
56
  get watchFileSystem(): WatchFileSystem;
57
57
  get intermediateFileSystem(): any;
58
- /**
59
- * @param {InputFileSystem} value the new input file system
60
- */
61
58
  set inputFileSystem(value: void);
62
- /**
63
- * @param {OutputFileSystem} value the new output file system
64
- */
65
59
  set outputFileSystem(value: typeof import("fs"));
66
60
  set watchFileSystem(value: WatchFileSystem);
67
- /**
68
- * @param {IntermediateFileSystem} value the new intermediate file system
69
- */
70
61
  set intermediateFileSystem(value: any);
71
62
  getInfrastructureLogger(name: string): import("./logging/Logger").Logger;
72
63
  /**
73
- * @param {Compiler} compiler the child compiler
74
- * @param {string[]} dependencies its dependencies
75
- * @returns {void}
64
+ * @param compiler - the child compiler
65
+ * @param dependencies - its dependencies
76
66
  */
77
67
  setDependencies(compiler: Compiler, dependencies: string[]): void;
78
68
  /**
79
- * @param {Callback<MultiStats>} callback signals when the validation is complete
80
- * @returns {boolean} true if the dependencies are valid
69
+ * @param callback - signals when the validation is complete
70
+ * @returns true if the dependencies are valid
81
71
  */
82
72
  validateDependencies(callback: Callback<Error, MultiStats>): boolean;
83
73
  /**
84
- * @param {WatchOptions|WatchOptions[]} watchOptions the watcher's options
85
- * @param {Callback<MultiStats>} handler signals when the call finishes
86
- * @returns {MultiWatching} a compiler watcher
74
+ * @param watchOptions - the watcher's options
75
+ * @param handler - signals when the call finishes
76
+ * @returns a compiler watcher
87
77
  */
88
78
  watch(watchOptions: WatchOptions, handler: Callback<Error, MultiStats>): MultiWatching;
89
79
  run(callback: Callback<Error, MultiStats>): void;
@@ -105,17 +105,11 @@ class MultiCompiler {
105
105
  get intermediateFileSystem() {
106
106
  throw new Error("Cannot read outputFileSystem of a MultiCompiler");
107
107
  }
108
- /**
109
- * @param {InputFileSystem} value the new input file system
110
- */
111
108
  set inputFileSystem(value) {
112
109
  for (const compiler of this.compilers) {
113
110
  compiler.inputFileSystem = value;
114
111
  }
115
112
  }
116
- /**
117
- * @param {OutputFileSystem} value the new output file system
118
- */
119
113
  set outputFileSystem(value) {
120
114
  for (const compiler of this.compilers) {
121
115
  compiler.outputFileSystem = value;
@@ -126,9 +120,6 @@ class MultiCompiler {
126
120
  compiler.watchFileSystem = value;
127
121
  }
128
122
  }
129
- /**
130
- * @param {IntermediateFileSystem} value the new intermediate file system
131
- */
132
123
  set intermediateFileSystem(value) {
133
124
  for (const compiler of this.compilers) {
134
125
  compiler.intermediateFileSystem = value;
@@ -138,16 +129,15 @@ class MultiCompiler {
138
129
  return this.compilers[0].getInfrastructureLogger(name);
139
130
  }
140
131
  /**
141
- * @param {Compiler} compiler the child compiler
142
- * @param {string[]} dependencies its dependencies
143
- * @returns {void}
132
+ * @param compiler - the child compiler
133
+ * @param dependencies - its dependencies
144
134
  */
145
135
  setDependencies(compiler, dependencies) {
146
136
  this.dependencies.set(compiler, dependencies);
147
137
  }
148
138
  /**
149
- * @param {Callback<MultiStats>} callback signals when the validation is complete
150
- * @returns {boolean} true if the dependencies are valid
139
+ * @param callback - signals when the validation is complete
140
+ * @returns true if the dependencies are valid
151
141
  */
152
142
  validateDependencies(callback) {
153
143
  const edges = new Set();
@@ -213,9 +203,9 @@ class MultiCompiler {
213
203
  return true;
214
204
  }
215
205
  /**
216
- * @param {WatchOptions|WatchOptions[]} watchOptions the watcher's options
217
- * @param {Callback<MultiStats>} handler signals when the call finishes
218
- * @returns {MultiWatching} a compiler watcher
206
+ * @param watchOptions - the watcher's options
207
+ * @param handler - signals when the call finishes
208
+ * @returns a compiler watcher
219
209
  */
220
210
  watch(watchOptions, handler) {
221
211
  if (this.running) {
@@ -9,20 +9,12 @@
9
9
  */
10
10
  import { MultiCompiler } from "./MultiCompiler";
11
11
  import { Watching } from "./Watching";
12
- /** @typedef {import("./MultiCompiler")} MultiCompiler */
13
- /** @typedef {import("./Watching")} Watching */
14
- /**
15
- * @template T
16
- * @callback Callback
17
- * @param {(Error | null)=} err
18
- * @param {T=} result
19
- */
20
12
  declare class MultiWatching {
21
13
  watchings: Watching[];
22
14
  compiler: MultiCompiler;
23
15
  /**
24
- * @param {Watching[]} watchings child compilers' watchers
25
- * @param {MultiCompiler} compiler the compiler
16
+ * @param watchings - child compilers' watchers
17
+ * @param compiler - the compiler
26
18
  */
27
19
  constructor(watchings: Watching[], compiler: MultiCompiler);
28
20
  invalidate(callback: any): void;
@@ -13,18 +13,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
13
13
  };
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const neo_async_1 = __importDefault(require("neo-async"));
16
- /** @typedef {import("./MultiCompiler")} MultiCompiler */
17
- /** @typedef {import("./Watching")} Watching */
18
- /**
19
- * @template T
20
- * @callback Callback
21
- * @param {(Error | null)=} err
22
- * @param {T=} result
23
- */
24
16
  class MultiWatching {
25
17
  /**
26
- * @param {Watching[]} watchings child compilers' watchers
27
- * @param {MultiCompiler} compiler the compiler
18
+ * @param watchings - child compilers' watchers
19
+ * @param compiler - the compiler
28
20
  */
29
21
  constructor(watchings, compiler) {
30
22
  this.watchings = watchings;
@@ -3,7 +3,7 @@
3
3
  * https://github.com/webpack/webpack/blob/v5.88.2/lib/RuntimeGlobals.js
4
4
  *
5
5
  * MIT Licensed
6
- * Author Tobias Koppers @sokra
6
+ * Author Tobias Koppers \@sokra
7
7
  * Copyright (c) JS Foundation and other contributors
8
8
  * https://github.com/webpack/webpack/blob/main/LICENSE
9
9
  */
@@ -134,7 +134,7 @@ export declare const RuntimeGlobals: {
134
134
  readonly scriptNonce: "__webpack_require__.nc";
135
135
  /**
136
136
  * function to load a script tag.
137
- * Arguments: (url: string, done: (event) => void), key?: string | number, chunkId?: string | number) => void
137
+ * Arguments: (url: string, done: (event) =\> void), key?: string | number, chunkId?: string | number) =\> void
138
138
  * done function is called when loading has finished or timeout occurred.
139
139
  * It will attach to existing script tags with data-webpack == uniqueName + ":" + key or src == url.
140
140
  */
@@ -142,18 +142,18 @@ export declare const RuntimeGlobals: {
142
142
  /**
143
143
  * function to promote a string to a TrustedScript using webpack's Trusted
144
144
  * Types policy
145
- * Arguments: (script: string) => TrustedScript
145
+ * Arguments: (script: string) =\> TrustedScript
146
146
  */
147
147
  readonly createScript: "__webpack_require__.ts";
148
148
  /**
149
149
  * function to promote a string to a TrustedScriptURL using webpack's Trusted
150
150
  * Types policy
151
- * Arguments: (url: string) => TrustedScriptURL
151
+ * Arguments: (url: string) =\> TrustedScriptURL
152
152
  */
153
153
  readonly createScriptUrl: "__webpack_require__.tu";
154
154
  /**
155
155
  * function to return webpack's Trusted Types policy
156
- * Arguments: () => TrustedTypePolicy
156
+ * Arguments: () =\> TrustedTypePolicy
157
157
  */
158
158
  readonly getTrustedTypesPolicy: "__webpack_require__.tt";
159
159
  /**
@@ -212,14 +212,14 @@ export declare const RuntimeGlobals: {
212
212
  readonly chunkCallback: "webpackChunk";
213
213
  /**
214
214
  * method to startup an entrypoint with needed chunks.
215
- * Signature: (moduleId: Id, chunkIds: Id[]) => any.
215
+ * Signature: (moduleId: Id, chunkIds: Id[]) =\> any.
216
216
  * Returns the exports of the module or a Promise
217
217
  */
218
218
  readonly startupEntrypoint: "__webpack_require__.X";
219
219
  /**
220
220
  * register deferred code, which will run when certain
221
221
  * chunks are loaded.
222
- * Signature: (chunkIds: Id[], fn: () => any, priority: int >= 0 = 0) => any
222
+ * Signature: (chunkIds: Id[], fn: () =\> any, priority: int \>= 0 = 0) =\> any
223
223
  * Returned value will be returned directly when all chunks are already loaded
224
224
  * When (priority & 1) it will wait for all other handlers with lower priority to
225
225
  * be executed before itself is executed
@@ -227,7 +227,7 @@ export declare const RuntimeGlobals: {
227
227
  readonly onChunksLoaded: "__webpack_require__.O";
228
228
  /**
229
229
  * method to install a chunk that was loaded somehow
230
- * Signature: ({ id, ids, modules, runtime }) => void
230
+ * Signature: (\{ id, ids, modules, runtime \}) =\> void
231
231
  */
232
232
  readonly externalInstallChunk: "__webpack_require__.C";
233
233
  /**
@@ -313,9 +313,9 @@ export declare const RuntimeGlobals: {
313
313
  * If "hasAwaitAfterDependencies" is truthy, "handleDependencies()" must be called at the end of the body function.
314
314
  * Signature: function(
315
315
  * module: Module,
316
- * body: (handleDependencies: (deps: AsyncModulePromise[]) => Promise<any[]> & () => void,
316
+ * body: (handleDependencies: (deps: AsyncModulePromise[]) =\> Promise\<any[]\> & () =\> void,
317
317
  * hasAwaitAfterDependencies?: boolean
318
- * ) => void
318
+ * ) =\> void
319
319
  */
320
320
  readonly asyncModule: "__webpack_require__.a";
321
321
  };
@@ -6,7 +6,7 @@ exports.RuntimeGlobals = void 0;
6
6
  * https://github.com/webpack/webpack/blob/v5.88.2/lib/RuntimeGlobals.js
7
7
  *
8
8
  * MIT Licensed
9
- * Author Tobias Koppers @sokra
9
+ * Author Tobias Koppers \@sokra
10
10
  * Copyright (c) JS Foundation and other contributors
11
11
  * https://github.com/webpack/webpack/blob/main/LICENSE
12
12
  */
@@ -137,7 +137,7 @@ exports.RuntimeGlobals = {
137
137
  scriptNonce: "__webpack_require__.nc",
138
138
  /**
139
139
  * function to load a script tag.
140
- * Arguments: (url: string, done: (event) => void), key?: string | number, chunkId?: string | number) => void
140
+ * Arguments: (url: string, done: (event) =\> void), key?: string | number, chunkId?: string | number) =\> void
141
141
  * done function is called when loading has finished or timeout occurred.
142
142
  * It will attach to existing script tags with data-webpack == uniqueName + ":" + key or src == url.
143
143
  */
@@ -145,18 +145,18 @@ exports.RuntimeGlobals = {
145
145
  /**
146
146
  * function to promote a string to a TrustedScript using webpack's Trusted
147
147
  * Types policy
148
- * Arguments: (script: string) => TrustedScript
148
+ * Arguments: (script: string) =\> TrustedScript
149
149
  */
150
150
  createScript: "__webpack_require__.ts",
151
151
  /**
152
152
  * function to promote a string to a TrustedScriptURL using webpack's Trusted
153
153
  * Types policy
154
- * Arguments: (url: string) => TrustedScriptURL
154
+ * Arguments: (url: string) =\> TrustedScriptURL
155
155
  */
156
156
  createScriptUrl: "__webpack_require__.tu",
157
157
  /**
158
158
  * function to return webpack's Trusted Types policy
159
- * Arguments: () => TrustedTypePolicy
159
+ * Arguments: () =\> TrustedTypePolicy
160
160
  */
161
161
  getTrustedTypesPolicy: "__webpack_require__.tt",
162
162
  /**
@@ -215,14 +215,14 @@ exports.RuntimeGlobals = {
215
215
  chunkCallback: "webpackChunk",
216
216
  /**
217
217
  * method to startup an entrypoint with needed chunks.
218
- * Signature: (moduleId: Id, chunkIds: Id[]) => any.
218
+ * Signature: (moduleId: Id, chunkIds: Id[]) =\> any.
219
219
  * Returns the exports of the module or a Promise
220
220
  */
221
221
  startupEntrypoint: "__webpack_require__.X",
222
222
  /**
223
223
  * register deferred code, which will run when certain
224
224
  * chunks are loaded.
225
- * Signature: (chunkIds: Id[], fn: () => any, priority: int >= 0 = 0) => any
225
+ * Signature: (chunkIds: Id[], fn: () =\> any, priority: int \>= 0 = 0) =\> any
226
226
  * Returned value will be returned directly when all chunks are already loaded
227
227
  * When (priority & 1) it will wait for all other handlers with lower priority to
228
228
  * be executed before itself is executed
@@ -230,7 +230,7 @@ exports.RuntimeGlobals = {
230
230
  onChunksLoaded: "__webpack_require__.O",
231
231
  /**
232
232
  * method to install a chunk that was loaded somehow
233
- * Signature: ({ id, ids, modules, runtime }) => void
233
+ * Signature: (\{ id, ids, modules, runtime \}) =\> void
234
234
  */
235
235
  externalInstallChunk: "__webpack_require__.C",
236
236
  /**
@@ -316,9 +316,9 @@ exports.RuntimeGlobals = {
316
316
  * If "hasAwaitAfterDependencies" is truthy, "handleDependencies()" must be called at the end of the body function.
317
317
  * Signature: function(
318
318
  * module: Module,
319
- * body: (handleDependencies: (deps: AsyncModulePromise[]) => Promise<any[]> & () => void,
319
+ * body: (handleDependencies: (deps: AsyncModulePromise[]) =\> Promise\<any[]\> & () =\> void,
320
320
  * hasAwaitAfterDependencies?: boolean
321
- * ) => void
321
+ * ) =\> void
322
322
  */
323
323
  asyncModule: "__webpack_require__.a"
324
324
  };
@@ -3,7 +3,7 @@ export declare const APIPlugin: {
3
3
  new (): {
4
4
  name: BuiltinPluginName;
5
5
  _options: void;
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;
6
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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;
6
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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;
6
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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;
6
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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
  };
@@ -176,7 +176,7 @@ export declare const BannerPlugin: {
176
176
  }): {
177
177
  name: BuiltinPluginName;
178
178
  _options: RawBannerPluginOptions;
179
- 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;
179
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
180
180
  raw(): import("@rspack/binding").BuiltinPlugin;
181
181
  apply(compiler: import("../Compiler").Compiler): void;
182
182
  };
@@ -7,7 +7,7 @@ export declare const BundlerInfoRspackPlugin: {
7
7
  new (options: BundleInfoOptions): {
8
8
  name: BuiltinPluginName;
9
9
  _options: RawBundlerInfoPluginOptions;
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;
10
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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;
6
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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;
6
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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;
6
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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;
6
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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;
6
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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: "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;
6
+ affectedHooks: "done" | "compilation" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "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
  };