@rspack/core 1.4.7-alpha.1 → 1.4.8

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 (99) hide show
  1. package/compiled/glob-to-regexp/index.d.ts +11 -0
  2. package/compiled/glob-to-regexp/index.js +187 -0
  3. package/compiled/glob-to-regexp/package.json +1 -0
  4. package/compiled/watchpack/index.js +9 -149
  5. package/dist/Compilation.d.ts +13 -7
  6. package/dist/Compiler.d.ts +10 -10
  7. package/dist/MultiCompiler.d.ts +1 -1
  8. package/dist/NativeWatchFileSystem.d.ts +17 -0
  9. package/dist/NormalModule.d.ts +1 -1
  10. package/dist/ResolverFactory.d.ts +1 -1
  11. package/dist/Watching.d.ts +10 -1
  12. package/dist/builtin-loader/swc/index.d.ts +3 -3
  13. package/dist/builtin-plugin/APIPlugin.d.ts +1 -1
  14. package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +1 -1
  15. package/dist/builtin-plugin/AssetModulesPlugin.d.ts +1 -1
  16. package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +1 -1
  17. package/dist/builtin-plugin/BannerPlugin.d.ts +1 -1
  18. package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +1 -1
  19. package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +1 -1
  20. package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +1 -1
  21. package/dist/builtin-plugin/ContextReplacementPlugin.d.ts +1 -1
  22. package/dist/builtin-plugin/CopyRspackPlugin.d.ts +1 -1
  23. package/dist/builtin-plugin/CssChunkingPlugin.d.ts +1 -1
  24. package/dist/builtin-plugin/CssModulesPlugin.d.ts +1 -1
  25. package/dist/builtin-plugin/DataUriPlugin.d.ts +1 -1
  26. package/dist/builtin-plugin/DefinePlugin.d.ts +1 -1
  27. package/dist/builtin-plugin/DllEntryPlugin.d.ts +1 -1
  28. package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +1 -1
  29. package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +1 -1
  30. package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
  31. package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +1 -1
  32. package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +1 -1
  33. package/dist/builtin-plugin/EntryPlugin.d.ts +1 -1
  34. package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +1 -1
  35. package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +1 -1
  36. package/dist/builtin-plugin/FetchCompileAsyncWasmPlugin.d.ts +1 -1
  37. package/dist/builtin-plugin/FileUriPlugin.d.ts +1 -1
  38. package/dist/builtin-plugin/FlagAllModulesAsUsedPlugin.d.ts +1 -1
  39. package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +1 -1
  40. package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +1 -1
  41. package/dist/builtin-plugin/IgnorePlugin.d.ts +1 -1
  42. package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +1 -1
  43. package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
  44. package/dist/builtin-plugin/JsonModulesPlugin.d.ts +1 -1
  45. package/dist/builtin-plugin/LibManifestPlugin.d.ts +1 -1
  46. package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +1 -1
  47. package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +1 -1
  48. package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +1 -1
  49. package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +1 -1
  50. package/dist/builtin-plugin/ModuleInfoHeaderPlugin.d.ts +1 -1
  51. package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +1 -1
  52. package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +1 -1
  53. package/dist/builtin-plugin/NoEmitOnErrorsPlugin.d.ts +1 -1
  54. package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -1
  55. package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +1 -1
  56. package/dist/builtin-plugin/ProgressPlugin.d.ts +1 -1
  57. package/dist/builtin-plugin/ProvidePlugin.d.ts +1 -1
  58. package/dist/builtin-plugin/RealContentHashPlugin.d.ts +1 -1
  59. package/dist/builtin-plugin/RemoveDuplicateModulesPlugin.d.ts +1 -1
  60. package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +1 -1
  61. package/dist/builtin-plugin/RsdoctorPlugin.d.ts +1 -1
  62. package/dist/builtin-plugin/RslibPlugin.d.ts +1 -1
  63. package/dist/builtin-plugin/RstestPlugin.d.ts +1 -1
  64. package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +1 -1
  65. package/dist/builtin-plugin/RuntimePlugin.d.ts +1 -1
  66. package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +1 -1
  67. package/dist/builtin-plugin/SizeLimitsPlugin.d.ts +1 -1
  68. package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +1 -1
  69. package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +1 -1
  70. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -1
  71. package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -1
  72. package/dist/builtin-plugin/base.d.ts +2 -2
  73. package/dist/builtin-plugin/html-plugin/index.d.ts +1 -1
  74. package/dist/builtin-plugin/html-plugin/plugin.d.ts +1 -1
  75. package/dist/builtin-plugin/index.d.ts +20 -20
  76. package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +1 -1
  77. package/dist/config/adapterRuleUse.d.ts +2 -2
  78. package/dist/config/devServer.d.ts +1 -1
  79. package/dist/config/normalization.d.ts +3 -2
  80. package/dist/config/types.d.ts +8 -3
  81. package/dist/container/ContainerPlugin.d.ts +1 -1
  82. package/dist/container/ContainerReferencePlugin.d.ts +1 -1
  83. package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
  84. package/dist/exports.d.ts +22 -62
  85. package/dist/index.js +6762 -6666
  86. package/dist/lib/Cache.d.ts +1 -1
  87. package/dist/lib/CacheFacade.d.ts +1 -1
  88. package/dist/loader-runner/utils.d.ts +1 -1
  89. package/dist/node/NodeWatchFileSystem.d.ts +1 -1
  90. package/dist/rspack.d.ts +1 -1
  91. package/dist/schema/config.d.ts +50 -49
  92. package/dist/schema/plugins.d.ts +7 -7
  93. package/dist/sharing/ConsumeSharedPlugin.d.ts +1 -1
  94. package/dist/sharing/ProvideSharedPlugin.d.ts +1 -1
  95. package/dist/sharing/ShareRuntimePlugin.d.ts +1 -1
  96. package/dist/util/fs.d.ts +10 -1
  97. package/hot/lazy-compilation-node.js +0 -2
  98. package/hot/lazy-compilation-web.js +0 -2
  99. package/package.json +4 -2
@@ -2,7 +2,7 @@ export declare const AsyncWebAssemblyModulesPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -33,7 +33,7 @@ export declare const BannerPlugin: {
33
33
  new (args: BannerPluginArgument): {
34
34
  name: string;
35
35
  _args: [args: BannerPluginArgument];
36
- 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" | "additionalPass" | undefined;
36
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
37
37
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
38
38
  apply(compiler: import("..").Compiler): void;
39
39
  };
@@ -7,7 +7,7 @@ export declare const BundlerInfoRspackPlugin: {
7
7
  new (options: BundleInfoOptions): {
8
8
  name: string;
9
9
  _args: [options: BundleInfoOptions];
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" | "additionalPass" | undefined;
10
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
11
11
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
12
12
  apply(compiler: import("..").Compiler): void;
13
13
  };
@@ -2,7 +2,7 @@ export declare const ChunkPrefetchPreloadPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const CommonJsChunkFormatPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const ContextReplacementPlugin: {
2
2
  new (resourceRegExp: RegExp, newContentResource?: any, newContentRecursive?: any, newContentRegExp?: any): {
3
3
  name: string;
4
4
  _args: [resourceRegExp: RegExp, newContentResource?: any, newContentRecursive?: any, newContentRegExp?: any];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -7,7 +7,7 @@ export declare const CopyRspackPlugin: {
7
7
  new (copy: CopyRspackPluginOptions): {
8
8
  name: string;
9
9
  _args: [copy: CopyRspackPluginOptions];
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" | "additionalPass" | undefined;
10
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
11
11
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
12
12
  apply(compiler: import("..").Compiler): void;
13
13
  };
@@ -14,7 +14,7 @@ export declare const CssChunkingPlugin: {
14
14
  new (options?: CssChunkingPluginOptions | undefined): {
15
15
  name: string;
16
16
  _args: [options?: CssChunkingPluginOptions | undefined];
17
- 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" | "additionalPass" | undefined;
17
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
18
18
  raw(compiler: import("..").Compiler): binding.BuiltinPlugin;
19
19
  apply(compiler: import("..").Compiler): void;
20
20
  };
@@ -2,7 +2,7 @@ export declare const CssModulesPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const DataUriPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -3,7 +3,7 @@ export declare const DefinePlugin: {
3
3
  new (define: DefinePluginOptions): {
4
4
  name: string;
5
5
  _args: [define: DefinePluginOptions];
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" | "additionalPass" | undefined;
6
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
7
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
8
  apply(compiler: import("..").Compiler): void;
9
9
  };
@@ -5,7 +5,7 @@ export declare const DllEntryPlugin: {
5
5
  new (context: string, entries: string[], options: DllEntryPluginOptions): {
6
6
  name: string;
7
7
  _args: [context: string, entries: string[], options: DllEntryPluginOptions];
8
- affectedHooks: "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" | "additionalPass" | undefined;
8
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
9
9
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
10
10
  apply(compiler: import("..").Compiler): void;
11
11
  };
@@ -4,7 +4,7 @@ export declare const DllReferenceAgencyPlugin: {
4
4
  new (options: RawDllReferenceAgencyPluginOptions): {
5
5
  name: string;
6
6
  _args: [options: RawDllReferenceAgencyPluginOptions];
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" | "additionalPass" | undefined;
7
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
8
8
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
@@ -2,7 +2,7 @@ export declare const ElectronTargetPlugin: {
2
2
  new (context?: string | undefined): {
3
3
  name: string;
4
4
  _args: [context?: string | undefined];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -12,7 +12,7 @@ declare const EnableChunkLoadingPluginInner: {
12
12
  new (type: string): {
13
13
  name: string;
14
14
  _args: [type: string];
15
- 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" | "additionalPass" | undefined;
15
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
16
16
  raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
17
17
  apply(compiler: Compiler): void;
18
18
  };
@@ -2,7 +2,7 @@ export declare const EnableWasmLoadingPlugin: {
2
2
  new (type: string): {
3
3
  name: string;
4
4
  _args: [type: string];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const EnsureChunkConditionsPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -19,7 +19,7 @@ declare const OriginEntryPlugin: {
19
19
  new (context: string, entry: string, options?: string | EntryOptions | undefined): {
20
20
  name: string;
21
21
  _args: [context: string, entry: string, options?: string | EntryOptions | undefined];
22
- affectedHooks: "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" | "additionalPass" | undefined;
22
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
23
23
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
24
24
  apply(compiler: import("..").Compiler): void;
25
25
  };
@@ -4,7 +4,7 @@ export declare const EvalDevToolModulePlugin: {
4
4
  new (options: RawEvalDevToolModulePluginOptions): {
5
5
  name: string;
6
6
  _args: [options: RawEvalDevToolModulePluginOptions];
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" | "additionalPass" | undefined;
7
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
8
8
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
@@ -3,7 +3,7 @@ export declare const EvalSourceMapDevToolPlugin: {
3
3
  new (options: SourceMapDevToolPluginOptions): {
4
4
  name: string;
5
5
  _args: [options: SourceMapDevToolPluginOptions];
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" | "additionalPass" | undefined;
6
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
7
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
8
  apply(compiler: import("..").Compiler): void;
9
9
  };
@@ -2,7 +2,7 @@ export declare const FetchCompileAsyncWasmPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const FileUriPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const FlagAllModulesAsUsedPlugin: {
2
2
  new (explanation: string): {
3
3
  name: string;
4
4
  _args: [explanation: string];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const FlagDependencyExportsPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const HttpExternalsRspackPlugin: {
2
2
  new (css: boolean, webAsync: boolean): {
3
3
  name: string;
4
4
  _args: [css: boolean, webAsync: boolean];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -12,7 +12,7 @@ export declare const IgnorePlugin: {
12
12
  new (options: IgnorePluginOptions): {
13
13
  name: string;
14
14
  _args: [options: IgnorePluginOptions];
15
- 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" | "additionalPass" | undefined;
15
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
16
16
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
17
17
  apply(compiler: import("..").Compiler): void;
18
18
  };
@@ -2,7 +2,7 @@ export declare const InferAsyncModulesPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -3,7 +3,7 @@ export declare const JsLoaderRspackPlugin: {
3
3
  new (compiler: Compiler): {
4
4
  name: string;
5
5
  _args: [compiler: Compiler];
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" | "additionalPass" | undefined;
6
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
7
  raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
8
8
  apply(compiler: Compiler): void;
9
9
  };
@@ -2,7 +2,7 @@ export declare const JsonModulesPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -10,7 +10,7 @@ export declare const LibManifestPlugin: {
10
10
  new (options: LibManifestPluginOptions): {
11
11
  name: string;
12
12
  _args: [options: LibManifestPluginOptions];
13
- 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" | "additionalPass" | undefined;
13
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
14
14
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
15
15
  apply(compiler: import("..").Compiler): void;
16
16
  };
@@ -25,7 +25,7 @@ export declare const LightningCssMinimizerRspackPlugin: {
25
25
  new (options?: LightningCssMinimizerRspackPluginOptions | undefined): {
26
26
  name: string;
27
27
  _args: [options?: LightningCssMinimizerRspackPluginOptions | undefined];
28
- 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" | "additionalPass" | undefined;
28
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
29
29
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
30
30
  apply(compiler: import("..").Compiler): void;
31
31
  };
@@ -7,7 +7,7 @@ export declare const LimitChunkCountPlugin: {
7
7
  new (options: LimitChunkCountOptions): {
8
8
  name: string;
9
9
  _args: [options: LimitChunkCountOptions];
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" | "additionalPass" | undefined;
10
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
11
11
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
12
12
  apply(compiler: import("..").Compiler): void;
13
13
  };
@@ -2,7 +2,7 @@ export declare const MergeDuplicateChunksPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const ModuleChunkFormatPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const ModuleInfoHeaderPlugin: {
2
2
  new (verbose: any): {
3
3
  name: string;
4
4
  _args: [verbose: any];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const NamedChunkIdsPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const NamedModuleIdsPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const NoEmitOnErrorsPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -2,7 +2,7 @@ export declare const NodeTargetPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- 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" | "additionalPass" | undefined;
5
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -3,7 +3,7 @@ export declare const OccurrenceChunkIdsPlugin: {
3
3
  new (options?: RawOccurrenceChunkIdsPluginOptions | undefined): {
4
4
  name: string;
5
5
  _args: [options?: RawOccurrenceChunkIdsPluginOptions | 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" | "additionalPass" | undefined;
6
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
7
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
8
  apply(compiler: import("..").Compiler): void;
9
9
  };
@@ -4,7 +4,7 @@ export declare const ProgressPlugin: {
4
4
  new (progress?: ProgressPluginArgument): {
5
5
  name: string;
6
6
  _args: [progress?: ProgressPluginArgument];
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" | "additionalPass" | undefined;
7
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
8
8
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
@@ -3,7 +3,7 @@ export declare const ProvidePlugin: {
3
3
  new (provide: ProvidePluginOptions): {
4
4
  name: string;
5
5
  _args: [provide: ProvidePluginOptions];
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" | "additionalPass" | undefined;
6
+ affectedHooks: "done" | "compilation" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
7
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
8
  apply(compiler: import("..").Compiler): void;
9
9
  };