@rspack-canary/core 1.5.6-canary-e598f284-20250921173624 → 1.5.8-canary-e350b761-20250924173613

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 (72) hide show
  1. package/dist/Compiler.d.ts +45 -32
  2. package/dist/MultiCompiler.d.ts +5 -2
  3. package/dist/builtin-plugin/APIPlugin.d.ts +1 -1
  4. package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +1 -1
  5. package/dist/builtin-plugin/AssetModulesPlugin.d.ts +1 -1
  6. package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +1 -1
  7. package/dist/builtin-plugin/BannerPlugin.d.ts +1 -1
  8. package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +1 -1
  9. package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +1 -1
  10. package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +1 -1
  11. package/dist/builtin-plugin/ContextReplacementPlugin.d.ts +1 -1
  12. package/dist/builtin-plugin/CopyRspackPlugin.d.ts +1 -1
  13. package/dist/builtin-plugin/CssChunkingPlugin.d.ts +1 -1
  14. package/dist/builtin-plugin/CssModulesPlugin.d.ts +1 -1
  15. package/dist/builtin-plugin/DataUriPlugin.d.ts +1 -1
  16. package/dist/builtin-plugin/DefinePlugin.d.ts +1 -1
  17. package/dist/builtin-plugin/DllEntryPlugin.d.ts +1 -1
  18. package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +1 -1
  19. package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +1 -1
  20. package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
  21. package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +1 -1
  22. package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +1 -1
  23. package/dist/builtin-plugin/EntryPlugin.d.ts +1 -1
  24. package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +1 -1
  25. package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +1 -1
  26. package/dist/builtin-plugin/FetchCompileAsyncWasmPlugin.d.ts +1 -1
  27. package/dist/builtin-plugin/FileUriPlugin.d.ts +1 -1
  28. package/dist/builtin-plugin/FlagAllModulesAsUsedPlugin.d.ts +1 -1
  29. package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +1 -1
  30. package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +1 -1
  31. package/dist/builtin-plugin/IgnorePlugin.d.ts +1 -1
  32. package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +1 -1
  33. package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
  34. package/dist/builtin-plugin/JsonModulesPlugin.d.ts +1 -1
  35. package/dist/builtin-plugin/LibManifestPlugin.d.ts +1 -1
  36. package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +1 -1
  37. package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +1 -1
  38. package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +1 -1
  39. package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +1 -1
  40. package/dist/builtin-plugin/ModuleInfoHeaderPlugin.d.ts +1 -1
  41. package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +1 -1
  42. package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +1 -1
  43. package/dist/builtin-plugin/NoEmitOnErrorsPlugin.d.ts +1 -1
  44. package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -1
  45. package/dist/builtin-plugin/NormalModuleReplacementPlugin.d.ts +1 -1
  46. package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +1 -1
  47. package/dist/builtin-plugin/ProgressPlugin.d.ts +1 -1
  48. package/dist/builtin-plugin/ProvidePlugin.d.ts +1 -1
  49. package/dist/builtin-plugin/RealContentHashPlugin.d.ts +1 -1
  50. package/dist/builtin-plugin/RemoveDuplicateModulesPlugin.d.ts +1 -1
  51. package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +1 -1
  52. package/dist/builtin-plugin/RsdoctorPlugin.d.ts +1 -1
  53. package/dist/builtin-plugin/RslibPlugin.d.ts +1 -1
  54. package/dist/builtin-plugin/RstestPlugin.d.ts +1 -1
  55. package/dist/builtin-plugin/RuntimeChunkPlugin.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/SizeLimitsPlugin.d.ts +1 -1
  59. package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +1 -1
  60. package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +1 -1
  61. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -1
  62. package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -1
  63. package/dist/builtin-plugin/base.d.ts +2 -2
  64. package/dist/builtin-plugin/html-plugin/plugin.d.ts +1 -1
  65. package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +1 -1
  66. package/dist/config/types.d.ts +6 -0
  67. package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
  68. package/dist/exports.d.ts +1 -1
  69. package/dist/index.js +16 -11
  70. package/dist/schema/config.d.ts +8 -0
  71. package/dist/schema/loaders.d.ts +1 -0
  72. package/package.json +2 -2
@@ -34,40 +34,53 @@ export interface AssetEmittedInfo {
34
34
  targetPath: string;
35
35
  compilation: Compilation;
36
36
  }
37
+ export type CompilerHooks = {
38
+ done: liteTapable.AsyncSeriesHook<Stats>;
39
+ afterDone: liteTapable.SyncHook<Stats>;
40
+ thisCompilation: liteTapable.SyncHook<[Compilation, CompilationParams]>;
41
+ compilation: liteTapable.SyncHook<[Compilation, CompilationParams]>;
42
+ invalid: liteTapable.SyncHook<[string | null, number]>;
43
+ compile: liteTapable.SyncHook<[CompilationParams]>;
44
+ normalModuleFactory: liteTapable.SyncHook<NormalModuleFactory>;
45
+ contextModuleFactory: liteTapable.SyncHook<ContextModuleFactory>;
46
+ initialize: liteTapable.SyncHook<[]>;
47
+ shouldEmit: liteTapable.SyncBailHook<[Compilation], boolean>;
48
+ /**
49
+ * Called when infrastructure logging is triggered, allowing plugins to intercept, modify, or handle log messages.
50
+ * If the hook returns `true`, the default infrastructure logging will be prevented.
51
+ * If it returns `undefined`, the default logging will proceed.
52
+ * @param name - The name of the logger
53
+ * @param type - The log type (e.g., 'log', 'warn', 'error', ...)
54
+ * @param args - An array of arguments passed to the logging method
55
+ */
56
+ infrastructureLog: liteTapable.SyncBailHook<[
57
+ string,
58
+ string,
59
+ any[]
60
+ ], true | void>;
61
+ beforeRun: liteTapable.AsyncSeriesHook<[Compiler]>;
62
+ run: liteTapable.AsyncSeriesHook<[Compiler]>;
63
+ emit: liteTapable.AsyncSeriesHook<[Compilation]>;
64
+ assetEmitted: liteTapable.AsyncSeriesHook<[string, AssetEmittedInfo]>;
65
+ afterEmit: liteTapable.AsyncSeriesHook<[Compilation]>;
66
+ failed: liteTapable.SyncHook<[Error]>;
67
+ shutdown: liteTapable.AsyncSeriesHook<[]>;
68
+ watchRun: liteTapable.AsyncSeriesHook<[Compiler]>;
69
+ watchClose: liteTapable.SyncHook<[]>;
70
+ environment: liteTapable.SyncHook<[]>;
71
+ afterEnvironment: liteTapable.SyncHook<[]>;
72
+ afterPlugins: liteTapable.SyncHook<[Compiler]>;
73
+ afterResolvers: liteTapable.SyncHook<[Compiler]>;
74
+ make: liteTapable.AsyncParallelHook<[Compilation]>;
75
+ beforeCompile: liteTapable.AsyncSeriesHook<[CompilationParams]>;
76
+ afterCompile: liteTapable.AsyncSeriesHook<[Compilation]>;
77
+ finishMake: liteTapable.AsyncSeriesHook<[Compilation]>;
78
+ entryOption: liteTapable.SyncBailHook<[string, EntryNormalized], any>;
79
+ additionalPass: liteTapable.AsyncSeriesHook<[]>;
80
+ };
37
81
  declare class Compiler {
38
82
  #private;
39
- hooks: {
40
- done: liteTapable.AsyncSeriesHook<Stats>;
41
- afterDone: liteTapable.SyncHook<Stats>;
42
- thisCompilation: liteTapable.SyncHook<[Compilation, CompilationParams]>;
43
- compilation: liteTapable.SyncHook<[Compilation, CompilationParams]>;
44
- invalid: liteTapable.SyncHook<[string | null, number]>;
45
- compile: liteTapable.SyncHook<[CompilationParams]>;
46
- normalModuleFactory: liteTapable.SyncHook<NormalModuleFactory>;
47
- contextModuleFactory: liteTapable.SyncHook<ContextModuleFactory>;
48
- initialize: liteTapable.SyncHook<[]>;
49
- shouldEmit: liteTapable.SyncBailHook<[Compilation], boolean>;
50
- infrastructureLog: liteTapable.SyncBailHook<[string, string, any[]], true>;
51
- beforeRun: liteTapable.AsyncSeriesHook<[Compiler]>;
52
- run: liteTapable.AsyncSeriesHook<[Compiler]>;
53
- emit: liteTapable.AsyncSeriesHook<[Compilation]>;
54
- assetEmitted: liteTapable.AsyncSeriesHook<[string, AssetEmittedInfo]>;
55
- afterEmit: liteTapable.AsyncSeriesHook<[Compilation]>;
56
- failed: liteTapable.SyncHook<[Error]>;
57
- shutdown: liteTapable.AsyncSeriesHook<[]>;
58
- watchRun: liteTapable.AsyncSeriesHook<[Compiler]>;
59
- watchClose: liteTapable.SyncHook<[]>;
60
- environment: liteTapable.SyncHook<[]>;
61
- afterEnvironment: liteTapable.SyncHook<[]>;
62
- afterPlugins: liteTapable.SyncHook<[Compiler]>;
63
- afterResolvers: liteTapable.SyncHook<[Compiler]>;
64
- make: liteTapable.AsyncParallelHook<[Compilation]>;
65
- beforeCompile: liteTapable.AsyncSeriesHook<[CompilationParams]>;
66
- afterCompile: liteTapable.AsyncSeriesHook<[Compilation]>;
67
- finishMake: liteTapable.AsyncSeriesHook<[Compilation]>;
68
- entryOption: liteTapable.SyncBailHook<[string, EntryNormalized], any>;
69
- additionalPass: liteTapable.AsyncSeriesHook<[]>;
70
- };
83
+ hooks: CompilerHooks;
71
84
  webpack: typeof rspack;
72
85
  rspack: typeof rspack;
73
86
  name?: string;
@@ -8,7 +8,7 @@
8
8
  * https://github.com/webpack/webpack/blob/main/LICENSE
9
9
  */
10
10
  import * as liteTapable from "@rspack/lite-tapable";
11
- import type { CompilationParams, Compiler, RspackOptions } from ".";
11
+ import type { CompilationParams, Compiler, CompilerHooks, RspackOptions } from ".";
12
12
  import type { WatchOptions } from "./config";
13
13
  import MultiStats from "./MultiStats";
14
14
  import MultiWatching from "./MultiWatching";
@@ -32,7 +32,10 @@ export declare class MultiCompiler {
32
32
  run: liteTapable.MultiHook<liteTapable.AsyncSeriesHook<[Compiler]>>;
33
33
  watchClose: liteTapable.SyncHook<[]>;
34
34
  watchRun: liteTapable.MultiHook<liteTapable.AsyncSeriesHook<[Compiler]>>;
35
- infrastructureLog: liteTapable.MultiHook<liteTapable.SyncBailHook<[string, string, any[]], true>>;
35
+ /**
36
+ * @see {@link CompilerHooks['infrastructureLog']}
37
+ */
38
+ infrastructureLog: liteTapable.MultiHook<CompilerHooks["infrastructureLog"]>;
36
39
  };
37
40
  _options: MultiCompilerOptions;
38
41
  running: boolean;
@@ -2,7 +2,7 @@ export declare const APIPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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 ArrayPushCallbackChunkFormatPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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 AssetModulesPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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 AsyncWebAssemblyModulesPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
36
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
10
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
10
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
17
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
8
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
15
+ affectedHooks: keyof import("../Compiler").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
22
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
15
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
+ affectedHooks: keyof import("../Compiler").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
13
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
28
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
10
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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 NormalModuleReplacementPlugin: {
3
3
  new (resourceRegExp: RegExp, newResource: string | ((data: ResolveData) => void)): {
4
4
  name: string;
5
5
  _args: [resourceRegExp: RegExp, newResource: string | ((data: ResolveData) => void)];
6
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
7
7
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
8
  apply(compiler: import("..").Compiler): void;
9
9
  };
@@ -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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
+ affectedHooks: keyof import("..").CompilerHooks | 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" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
+ affectedHooks: keyof import("..").CompilerHooks | 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 RealContentHashPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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 RemoveDuplicateModulesPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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 RemoveEmptyChunksPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -18,7 +18,7 @@ declare const RsdoctorPluginImpl: {
18
18
  new (c?: RsdoctorPluginOptions | undefined): {
19
19
  name: string;
20
20
  _args: [c?: RsdoctorPluginOptions | undefined];
21
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
21
+ affectedHooks: keyof import("../Compiler").CompilerHooks | undefined;
22
22
  raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
23
23
  apply(compiler: Compiler): void;
24
24
  };
@@ -4,7 +4,7 @@ export declare const RslibPlugin: {
4
4
  new (rslib: RawRslibPluginOptions): {
5
5
  name: string;
6
6
  _args: [rslib: RawRslibPluginOptions];
7
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
8
8
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
@@ -4,7 +4,7 @@ export declare const RstestPlugin: {
4
4
  new (rstest: RawRstestPluginOptions): {
5
5
  name: string;
6
6
  _args: [rstest: RawRstestPluginOptions];
7
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
8
8
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
@@ -4,7 +4,7 @@ export declare const RuntimeChunkPlugin: {
4
4
  new (options: RawRuntimeChunkOptions): {
5
5
  name: string;
6
6
  _args: [options: RawRuntimeChunkOptions];
7
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
8
8
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
@@ -7,7 +7,7 @@ export declare const RuntimePluginImpl: {
7
7
  new (): {
8
8
  name: string;
9
9
  _args: [];
10
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
10
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
11
11
  raw(compiler: import("..").Compiler): binding.BuiltinPlugin;
12
12
  apply(compiler: import("..").Compiler): void;
13
13
  };
@@ -2,7 +2,7 @@ export declare const SideEffectsFlagPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | 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 SizeLimitsPlugin: {
12
12
  maxAssetSize?: number;
13
13
  maxEntrypointSize?: number;
14
14
  }];
15
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
15
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
16
16
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
17
17
  apply(compiler: import("..").Compiler): void;
18
18
  };
@@ -4,7 +4,7 @@ export declare const SourceMapDevToolPlugin: {
4
4
  new (options: SourceMapDevToolPluginOptions): {
5
5
  name: string;
6
6
  _args: [options: SourceMapDevToolPluginOptions];
7
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
7
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
8
8
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
@@ -20,7 +20,7 @@ declare const NativeSubresourceIntegrityPlugin: {
20
20
  new (options: NativeSubresourceIntegrityPluginOptions): {
21
21
  name: string;
22
22
  _args: [options: NativeSubresourceIntegrityPluginOptions];
23
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
23
+ affectedHooks: keyof import("../Compiler").CompilerHooks | undefined;
24
24
  raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
25
25
  apply(compiler: Compiler): void;
26
26
  };
@@ -206,7 +206,7 @@ export declare const SwcJsMinimizerRspackPlugin: {
206
206
  new (options?: SwcJsMinimizerRspackPluginOptions | undefined): {
207
207
  name: string;
208
208
  _args: [options?: SwcJsMinimizerRspackPluginOptions | undefined];
209
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
209
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
210
210
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
211
211
  apply(compiler: import("..").Compiler): void;
212
212
  };
@@ -2,7 +2,7 @@ export declare const WarnCaseSensitiveModulesPlugin: {
2
2
  new (): {
3
3
  name: string;
4
4
  _args: [];
5
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
5
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
6
6
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
@@ -14,7 +14,7 @@ export declare function create<T extends any[], R>(name: binding.BuiltinPluginNa
14
14
  new (...args: T): {
15
15
  name: string;
16
16
  _args: T;
17
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
17
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
18
18
  raw(compiler: Compiler): binding.BuiltinPlugin;
19
19
  apply(compiler: Compiler): void;
20
20
  };
@@ -37,7 +37,7 @@ export declare function createNativePlugin<T extends any[], R>(name: CustomPlugi
37
37
  new (...args: T): {
38
38
  name: string;
39
39
  _args: T;
40
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
40
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
41
41
  raw(compiler: Compiler): binding.BuiltinPlugin;
42
42
  apply(compiler: Compiler): void;
43
43
  };
@@ -7,7 +7,7 @@ declare const HtmlRspackPluginImpl: {
7
7
  new (c?: HtmlRspackPluginOptions | undefined): {
8
8
  name: string;
9
9
  _args: [c?: HtmlRspackPluginOptions | undefined];
10
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
10
+ affectedHooks: keyof import("../../Compiler").CompilerHooks | undefined;
11
11
  raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
12
12
  apply(compiler: Compiler): void;
13
13
  };
@@ -3,7 +3,7 @@ export declare const BuiltinLazyCompilationPlugin: {
3
3
  new (currentActiveModules: () => Set<string>, entries: boolean, imports: boolean, client: string, test?: RegExp | ((module: Module) => boolean) | undefined): {
4
4
  name: string;
5
5
  _args: [currentActiveModules: () => Set<string>, entries: boolean, imports: boolean, client: string, test?: RegExp | ((module: Module) => boolean) | undefined];
6
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
6
+ affectedHooks: keyof import("../..").CompilerHooks | undefined;
7
7
  raw(compiler: import("../..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
8
  apply(compiler: import("../..").Compiler): void;
9
9
  };
@@ -796,10 +796,16 @@ export type JavascriptParserOptions = {
796
796
  requireDynamic?: boolean;
797
797
  requireResolve?: boolean;
798
798
  importDynamic?: boolean;
799
+ /**
800
+ * Enable magic comments for CommonJS require() expressions.
801
+ */
802
+ commonjsMagicComments?: boolean;
799
803
  /** Inline const values in this module */
800
804
  inlineConst?: boolean;
801
805
  /** Whether to tolerant exportsPresence for type reexport */
802
806
  typeReexportsPresence?: "no-tolerant" | "tolerant" | "tolerant-no-check";
807
+ /** Whether to enable JSX parsing */
808
+ jsx?: boolean;
803
809
  };
804
810
  export type JsonParserOptions = {
805
811
  /**
@@ -5,7 +5,7 @@ export declare const ModuleFederationRuntimePlugin: {
5
5
  new (options?: ModuleFederationRuntimeOptions | undefined): {
6
6
  name: string;
7
7
  _args: [options?: ModuleFederationRuntimeOptions | undefined];
8
- affectedHooks: "done" | "compilation" | "run" | "afterDone" | "thisCompilation" | "invalid" | "compile" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "emit" | "assetEmitted" | "afterEmit" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "make" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined;
8
+ affectedHooks: keyof import("..").CompilerHooks | undefined;
9
9
  raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
10
10
  apply(compiler: import("..").Compiler): void;
11
11
  };
package/dist/exports.d.ts CHANGED
@@ -3,7 +3,7 @@ declare const version: string;
3
3
  export { rspackVersion, version };
4
4
  export type { Asset, AssetInfo, Assets, ChunkPathData, CompilationParams, LogEntry, PathData } from "./Compilation";
5
5
  export { Compilation } from "./Compilation";
6
- export { Compiler } from "./Compiler";
6
+ export { Compiler, type CompilerHooks } from "./Compiler";
7
7
  export type { MultiCompilerOptions, MultiRspackOptions } from "./MultiCompiler";
8
8
  export { MultiCompiler } from "./MultiCompiler";
9
9
  import { RspackOptionsApply } from "./rspackOptionsApply";
package/dist/index.js CHANGED
@@ -3952,8 +3952,10 @@ Plugins which provide custom chunk loading types must call EnableChunkLoadingPlu
3952
3952
  requireDynamic: parser.requireDynamic,
3953
3953
  requireResolve: parser.requireResolve,
3954
3954
  importDynamic: parser.importDynamic,
3955
+ commonjsMagicComments: parser.commonjsMagicComments,
3955
3956
  inlineConst: parser.inlineConst,
3956
- typeReexportsPresence: parser.typeReexportsPresence
3957
+ typeReexportsPresence: parser.typeReexportsPresence,
3958
+ jsx: parser.jsx
3957
3959
  };
3958
3960
  }
3959
3961
  function getRawCssParserOptions(parser) {
@@ -8653,12 +8655,12 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
8653
8655
  }, applyExperimentsDefaults = (experiments, { production, development })=>{
8654
8656
  defaults_F(experiments, "cache", ()=>development), D(experiments, "futureDefaults", !1), D(experiments, "lazyCompilation", !1), D(experiments, "asyncWebAssembly", experiments.futureDefaults), D(experiments, "css", !!experiments.futureDefaults || void 0), D(experiments, "layers", !1), !1 === experiments.topLevelAwait && console.warn("`experiments.topLevelAwait` config has been deprecated and will be removed in Rspack v2.0. Top-level await will be always enabled. Please remove this option from your Rspack configuration."), D(experiments, "topLevelAwait", !0), D(experiments, "buildHttp", void 0), experiments.buildHttp && "object" == typeof experiments.buildHttp && D(experiments.buildHttp, "upgrade", !1), D(experiments, "incremental", {}), "object" == typeof experiments.incremental && (D(experiments.incremental, "silent", !0), D(experiments.incremental, "make", !0), D(experiments.incremental, "inferAsyncModules", !0), D(experiments.incremental, "providedExports", !0), D(experiments.incremental, "dependenciesDiagnostics", !0), D(experiments.incremental, "sideEffects", !0), D(experiments.incremental, "buildChunkGraph", !1), D(experiments.incremental, "moduleIds", !0), D(experiments.incremental, "chunkIds", !0), D(experiments.incremental, "modulesHashes", !0), D(experiments.incremental, "modulesCodegen", !0), D(experiments.incremental, "modulesRuntimeRequirements", !0), D(experiments.incremental, "chunksRuntimeRequirements", !0), D(experiments.incremental, "chunksHashes", !0), D(experiments.incremental, "chunksRender", !0), D(experiments.incremental, "emitAssets", !0)), D(experiments, "rspackFuture", {}), D(experiments, "parallelCodeSplitting", !1), D(experiments, "parallelLoader", !1), D(experiments, "useInputFileSystem", !1), D(experiments, "inlineConst", !1), D(experiments, "inlineEnum", !1), D(experiments, "typeReexportsPresence", !1), D(experiments, "lazyBarrel", !1);
8655
8657
  }, applybundlerInfoDefaults = (rspackFuture, library)=>{
8656
- "object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.5.6-canary-e598f284-20250921173624"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
8658
+ "object" == typeof rspackFuture && (D(rspackFuture, "bundlerInfo", {}), "object" == typeof rspackFuture.bundlerInfo && (D(rspackFuture.bundlerInfo, "version", "1.5.8-canary-e350b761-20250924173613"), D(rspackFuture.bundlerInfo, "bundler", "rspack"), D(rspackFuture.bundlerInfo, "force", !library)));
8657
8659
  }, applySnapshotDefaults = (_snapshot, _env)=>{}, applyModuleDefaults = (module, { asyncWebAssembly, css, targetProperties, mode, uniqueName, usedExports, inlineConst })=>{
8658
8660
  if (assertNotNill(module.parser), assertNotNill(module.generator), defaults_F(module.parser, "asset", ()=>({})), assertNotNill(module.parser.asset), defaults_F(module.parser.asset, "dataUrlCondition", ()=>({})), "object" == typeof module.parser.asset.dataUrlCondition && D(module.parser.asset.dataUrlCondition, "maxSize", 8096), defaults_F(module.parser, "javascript", ()=>({})), assertNotNill(module.parser.javascript), ((parserOptions, { usedExports, inlineConst })=>{
8659
8661
  D(parserOptions, "dynamicImportMode", "lazy"), D(parserOptions, "dynamicImportPrefetch", !1), D(parserOptions, "dynamicImportPreload", !1), D(parserOptions, "url", !0), D(parserOptions, "exprContextCritical", !0), D(parserOptions, "unknownContextCritical", !0), D(parserOptions, "wrappedContextCritical", !1), D(parserOptions, "wrappedContextRegExp", /.*/), D(parserOptions, "strictExportPresence", !1), D(parserOptions, "requireAsExpression", !0), D(parserOptions, "requireDynamic", !0), D(parserOptions, "requireResolve", !0), D(parserOptions, "importDynamic", !0), D(parserOptions, "worker", [
8660
8662
  "..."
8661
- ]), D(parserOptions, "importMeta", !0), D(parserOptions, "inlineConst", usedExports && inlineConst), D(parserOptions, "typeReexportsPresence", "no-tolerant");
8663
+ ]), D(parserOptions, "importMeta", !0), D(parserOptions, "inlineConst", usedExports && inlineConst), D(parserOptions, "typeReexportsPresence", "no-tolerant"), D(parserOptions, "jsx", !1);
8662
8664
  })(module.parser.javascript, {
8663
8665
  usedExports,
8664
8666
  inlineConst
@@ -10297,7 +10299,7 @@ You can also more options via the 'target' option: 'browserslist' / 'browserslis
10297
10299
  });
10298
10300
  }
10299
10301
  }
10300
- let CORE_VERSION = "1.5.6-canary-e598f284-20250921173624", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
10302
+ let CORE_VERSION = "1.5.8-canary-e350b761-20250924173613", bindingVersionCheck_errorMessage = (coreVersion, expectedCoreVersion)=>process.env.RSPACK_BINDING ? `Unmatched version @rspack/core@${coreVersion} and binding version.
10301
10303
 
10302
10304
  Help:
10303
10305
  Looks like you are using a custom binding (via environment variable 'RSPACK_BINDING=${process.env.RSPACK_BINDING}').
@@ -11581,7 +11583,7 @@ Help:
11581
11583
  obj.children = this.stats.map((stat, idx)=>{
11582
11584
  let obj = stat.toJson(childOptions.children[idx]), compilationName = stat.compilation.name;
11583
11585
  return obj.name = compilationName && makePathsRelative(childOptions.context, compilationName, stat.compilation.compiler.root), obj;
11584
- }), childOptions.version && (obj.rspackVersion = "1.5.6-canary-e598f284-20250921173624", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
11586
+ }), childOptions.version && (obj.rspackVersion = "1.5.8-canary-e350b761-20250924173613", obj.version = "5.75.0"), childOptions.hash && (obj.hash = obj.children.map((j)=>j.hash).join(""));
11585
11587
  let mapError = (j, obj)=>({
11586
11588
  ...obj,
11587
11589
  compilerPath: obj.compilerPath ? `${j.name}.${obj.compilerPath}` : j.name
@@ -12477,7 +12479,7 @@ Help:
12477
12479
  object.hash = context.getStatsCompilation(compilation).hash;
12478
12480
  },
12479
12481
  version: (object)=>{
12480
- object.version = "5.75.0", object.rspackVersion = "1.5.6-canary-e598f284-20250921173624";
12482
+ object.version = "5.75.0", object.rspackVersion = "1.5.8-canary-e350b761-20250924173613";
12481
12483
  },
12482
12484
  env: (object, _compilation, _context, { _env })=>{
12483
12485
  object.env = _env;
@@ -14526,7 +14528,8 @@ Help:
14526
14528
  }).partial()),
14527
14529
  runtime: schemas_enum([
14528
14530
  "automatic",
14529
- "classic"
14531
+ "classic",
14532
+ "preserve"
14530
14533
  ]),
14531
14534
  importSource: schemas_string()
14532
14535
  }).partial(), ZodSwcConstModulesConfig = strictObject({
@@ -15010,11 +15013,11 @@ Help:
15010
15013
  ]).or(literal(!1)), strictExportPresence = schemas_boolean(), worker = schemas_array(schemas_string()).or(schemas_boolean()), overrideStrict = schemas_enum([
15011
15014
  "strict",
15012
15015
  "non-strict"
15013
- ]), requireAsExpression = schemas_boolean(), requireDynamic = schemas_boolean(), requireResolve = schemas_boolean(), importDynamic = schemas_boolean(), inlineConst = schemas_boolean(), typeReexportsPresence = schemas_enum([
15016
+ ]), requireAsExpression = schemas_boolean(), requireDynamic = schemas_boolean(), requireResolve = schemas_boolean(), importDynamic = schemas_boolean(), commonjsMagicComments = schemas_boolean(), inlineConst = schemas_boolean(), typeReexportsPresence = schemas_enum([
15014
15017
  "no-tolerant",
15015
15018
  "tolerant",
15016
15019
  "tolerant-no-check"
15017
- ]), javascriptParserOptions = strictObject({
15020
+ ]), jsx = schemas_boolean(), javascriptParserOptions = strictObject({
15018
15021
  dynamicImportMode: dynamicImportMode,
15019
15022
  dynamicImportPreload: dynamicImportPreload,
15020
15023
  dynamicImportPrefetch: dynamicImportPrefetch,
@@ -15031,12 +15034,14 @@ Help:
15031
15034
  strictExportPresence: strictExportPresence,
15032
15035
  worker: worker,
15033
15036
  overrideStrict: overrideStrict,
15037
+ commonjsMagicComments: commonjsMagicComments,
15034
15038
  requireAsExpression: requireAsExpression,
15035
15039
  requireDynamic: requireDynamic,
15036
15040
  requireResolve: requireResolve,
15037
15041
  importDynamic: importDynamic,
15038
15042
  inlineConst: inlineConst,
15039
- typeReexportsPresence: typeReexportsPresence
15043
+ typeReexportsPresence: typeReexportsPresence,
15044
+ jsx: jsx
15040
15045
  }).partial(), parserOptionsByModuleTypeKnown = strictObject({
15041
15046
  asset: assetParserOptions,
15042
15047
  css: cssParserOptions,
@@ -15792,7 +15797,7 @@ Help:
15792
15797
  let _options = JSON.stringify(options || {});
15793
15798
  return binding_default().transform(source, _options);
15794
15799
  }
15795
- let exports_rspackVersion = "1.5.6-canary-e598f284-20250921173624", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
15800
+ let exports_rspackVersion = "1.5.8-canary-e350b761-20250924173613", exports_version = "5.75.0", exports_WebpackError = Error, sources = __webpack_require__("webpack-sources"), exports_config = {
15796
15801
  getNormalizedRspackOptions: getNormalizedRspackOptions,
15797
15802
  applyRspackOptionsDefaults: applyRspackOptionsDefaults,
15798
15803
  getNormalizedWebpackOptions: getNormalizedRspackOptions,
@@ -762,6 +762,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
762
762
  strict: "strict";
763
763
  "non-strict": "non-strict";
764
764
  }>>;
765
+ commonjsMagicComments: z.ZodOptional<z.ZodBoolean>;
765
766
  requireAsExpression: z.ZodOptional<z.ZodBoolean>;
766
767
  requireDynamic: z.ZodOptional<z.ZodBoolean>;
767
768
  requireResolve: z.ZodOptional<z.ZodBoolean>;
@@ -772,6 +773,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
772
773
  tolerant: "tolerant";
773
774
  "tolerant-no-check": "tolerant-no-check";
774
775
  }>>;
776
+ jsx: z.ZodOptional<z.ZodBoolean>;
775
777
  }, z.core.$strict>>;
776
778
  "javascript/auto": z.ZodOptional<z.ZodObject<{
777
779
  dynamicImportMode: z.ZodOptional<z.ZodEnum<{
@@ -814,6 +816,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
814
816
  strict: "strict";
815
817
  "non-strict": "non-strict";
816
818
  }>>;
819
+ commonjsMagicComments: z.ZodOptional<z.ZodBoolean>;
817
820
  requireAsExpression: z.ZodOptional<z.ZodBoolean>;
818
821
  requireDynamic: z.ZodOptional<z.ZodBoolean>;
819
822
  requireResolve: z.ZodOptional<z.ZodBoolean>;
@@ -824,6 +827,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
824
827
  tolerant: "tolerant";
825
828
  "tolerant-no-check": "tolerant-no-check";
826
829
  }>>;
830
+ jsx: z.ZodOptional<z.ZodBoolean>;
827
831
  }, z.core.$strict>>;
828
832
  "javascript/dynamic": z.ZodOptional<z.ZodObject<{
829
833
  dynamicImportMode: z.ZodOptional<z.ZodEnum<{
@@ -866,6 +870,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
866
870
  strict: "strict";
867
871
  "non-strict": "non-strict";
868
872
  }>>;
873
+ commonjsMagicComments: z.ZodOptional<z.ZodBoolean>;
869
874
  requireAsExpression: z.ZodOptional<z.ZodBoolean>;
870
875
  requireDynamic: z.ZodOptional<z.ZodBoolean>;
871
876
  requireResolve: z.ZodOptional<z.ZodBoolean>;
@@ -876,6 +881,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
876
881
  tolerant: "tolerant";
877
882
  "tolerant-no-check": "tolerant-no-check";
878
883
  }>>;
884
+ jsx: z.ZodOptional<z.ZodBoolean>;
879
885
  }, z.core.$strict>>;
880
886
  "javascript/esm": z.ZodOptional<z.ZodObject<{
881
887
  dynamicImportMode: z.ZodOptional<z.ZodEnum<{
@@ -918,6 +924,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
918
924
  strict: "strict";
919
925
  "non-strict": "non-strict";
920
926
  }>>;
927
+ commonjsMagicComments: z.ZodOptional<z.ZodBoolean>;
921
928
  requireAsExpression: z.ZodOptional<z.ZodBoolean>;
922
929
  requireDynamic: z.ZodOptional<z.ZodBoolean>;
923
930
  requireResolve: z.ZodOptional<z.ZodBoolean>;
@@ -928,6 +935,7 @@ export declare const getRspackOptionsSchema: () => z.ZodObject<{
928
935
  tolerant: "tolerant";
929
936
  "tolerant-no-check": "tolerant-no-check";
930
937
  }>>;
938
+ jsx: z.ZodOptional<z.ZodBoolean>;
931
939
  }, z.core.$strict>>;
932
940
  }, z.core.$strict>>;
933
941
  generator: z.ZodOptional<z.ZodObject<{
@@ -90,6 +90,7 @@ export declare const getZodSwcLoaderOptionsSchema: () => z.ZodObject<{
90
90
  emitFullSignatures: z.ZodOptional<z.ZodBoolean>;
91
91
  }, z.core.$strict>]>>;
92
92
  runtime: z.ZodOptional<z.ZodEnum<{
93
+ preserve: "preserve";
93
94
  automatic: "automatic";
94
95
  classic: "classic";
95
96
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/core",
3
- "version": "1.5.6-canary-e598f284-20250921173624",
3
+ "version": "1.5.8-canary-e350b761-20250924173613",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "The fast Rust-based web bundler with webpack-compatible API",
@@ -60,7 +60,7 @@
60
60
  "dependencies": {
61
61
  "@module-federation/runtime-tools": "0.18.0",
62
62
  "@rspack/lite-tapable": "1.0.1",
63
- "@rspack/binding": "npm:@rspack-canary/binding@1.5.6-canary-e598f284-20250921173624"
63
+ "@rspack/binding": "npm:@rspack-canary/binding@1.5.8-canary-e350b761-20250924173613"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "@swc/helpers": ">=0.5.1"