@rspack-canary/browser 1.4.12-canary-51b82a4d-20250815075104 → 1.4.12-canary-ed187241-20250817101254

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 (134) hide show
  1. package/dist/BuildInfo.d.ts +3 -3
  2. package/dist/Chunk.d.ts +3 -3
  3. package/dist/ChunkGraph.d.ts +2 -2
  4. package/dist/Chunks.d.ts +2 -2
  5. package/dist/Compilation.d.ts +3 -3
  6. package/dist/Compiler.d.ts +1 -1
  7. package/dist/ConcatenatedModule.d.ts +1 -1
  8. package/dist/ContextModule.d.ts +1 -1
  9. package/dist/Diagnostics.d.ts +1 -1
  10. package/dist/Entrypoint.d.ts +1 -1
  11. package/dist/ExportsInfo.d.ts +1 -1
  12. package/dist/ExternalModule.d.ts +1 -1
  13. package/dist/FileSystem.d.ts +1 -1
  14. package/dist/Module.d.ts +3 -3
  15. package/dist/ModuleGraph.d.ts +1 -1
  16. package/dist/NativeWatchFileSystem.d.ts +1 -1
  17. package/dist/NormalModule.d.ts +2 -2
  18. package/dist/NormalModuleFactory.d.ts +1 -1
  19. package/dist/Resolver.d.ts +1 -1
  20. package/dist/ResolverFactory.d.ts +1 -1
  21. package/dist/RspackError.d.ts +2 -2
  22. package/dist/RuntimeGlobals.d.ts +1 -1
  23. package/dist/RuntimeModule.d.ts +1 -1
  24. package/dist/binding.d.ts +8 -0
  25. package/dist/browser/service.d.ts +23 -0
  26. package/dist/builtin-plugin/APIPlugin.d.ts +1 -1
  27. package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +1 -1
  28. package/dist/builtin-plugin/AssetModulesPlugin.d.ts +1 -1
  29. package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +1 -1
  30. package/dist/builtin-plugin/BannerPlugin.d.ts +2 -2
  31. package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +1 -1
  32. package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +1 -1
  33. package/dist/builtin-plugin/CircularDependencyRspackPlugin.d.ts +1 -1
  34. package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +1 -1
  35. package/dist/builtin-plugin/ContextReplacementPlugin.d.ts +1 -1
  36. package/dist/builtin-plugin/CopyRspackPlugin.d.ts +2 -2
  37. package/dist/builtin-plugin/CssChunkingPlugin.d.ts +1 -1
  38. package/dist/builtin-plugin/CssModulesPlugin.d.ts +1 -1
  39. package/dist/builtin-plugin/DataUriPlugin.d.ts +1 -1
  40. package/dist/builtin-plugin/DefinePlugin.d.ts +1 -1
  41. package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +1 -1
  42. package/dist/builtin-plugin/DeterministicModuleIdsPlugin.d.ts +1 -1
  43. package/dist/builtin-plugin/DllEntryPlugin.d.ts +1 -1
  44. package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +2 -2
  45. package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +1 -1
  46. package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +1 -1
  47. package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
  48. package/dist/builtin-plugin/EnableLibraryPlugin.d.ts +1 -1
  49. package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +1 -1
  50. package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +1 -1
  51. package/dist/builtin-plugin/EntryPlugin.d.ts +2 -2
  52. package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +2 -2
  53. package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +2 -2
  54. package/dist/builtin-plugin/ExternalsPlugin.d.ts +1 -1
  55. package/dist/builtin-plugin/FetchCompileAsyncWasmPlugin.d.ts +1 -1
  56. package/dist/builtin-plugin/FileUriPlugin.d.ts +1 -1
  57. package/dist/builtin-plugin/FlagAllModulesAsUsedPlugin.d.ts +1 -1
  58. package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +1 -1
  59. package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +1 -1
  60. package/dist/builtin-plugin/HotModuleReplacementPlugin.d.ts +1 -1
  61. package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +1 -1
  62. package/dist/builtin-plugin/HttpUriPlugin.d.ts +1 -1
  63. package/dist/builtin-plugin/IgnorePlugin.d.ts +2 -2
  64. package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +1 -1
  65. package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +1 -1
  66. package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
  67. package/dist/builtin-plugin/JsonModulesPlugin.d.ts +1 -1
  68. package/dist/builtin-plugin/LibManifestPlugin.d.ts +1 -1
  69. package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +1 -1
  70. package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +1 -1
  71. package/dist/builtin-plugin/MangleExportsPlugin.d.ts +1 -1
  72. package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +1 -1
  73. package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +1 -1
  74. package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +1 -1
  75. package/dist/builtin-plugin/ModuleInfoHeaderPlugin.d.ts +1 -1
  76. package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +1 -1
  77. package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +1 -1
  78. package/dist/builtin-plugin/NaturalChunkIdsPlugin.d.ts +1 -1
  79. package/dist/builtin-plugin/NaturalModuleIdsPlugin.d.ts +1 -1
  80. package/dist/builtin-plugin/NoEmitOnErrorsPlugin.d.ts +1 -1
  81. package/dist/builtin-plugin/NodeTargetPlugin.d.ts +1 -1
  82. package/dist/builtin-plugin/NormalModuleReplacementPlugin.d.ts +1 -1
  83. package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +2 -2
  84. package/dist/builtin-plugin/ProgressPlugin.d.ts +2 -2
  85. package/dist/builtin-plugin/ProvidePlugin.d.ts +1 -1
  86. package/dist/builtin-plugin/RealContentHashPlugin.d.ts +1 -1
  87. package/dist/builtin-plugin/RemoveDuplicateModulesPlugin.d.ts +1 -1
  88. package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +1 -1
  89. package/dist/builtin-plugin/RsdoctorPlugin.d.ts +2 -2
  90. package/dist/builtin-plugin/RslibPlugin.d.ts +2 -2
  91. package/dist/builtin-plugin/RstestPlugin.d.ts +2 -2
  92. package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +2 -2
  93. package/dist/builtin-plugin/RuntimePlugin.d.ts +1 -1
  94. package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +1 -1
  95. package/dist/builtin-plugin/SizeLimitsPlugin.d.ts +1 -1
  96. package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +2 -2
  97. package/dist/builtin-plugin/SplitChunksPlugin.d.ts +1 -1
  98. package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +2 -2
  99. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +1 -1
  100. package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +1 -1
  101. package/dist/builtin-plugin/WebWorkerTemplatePlugin.d.ts +1 -1
  102. package/dist/builtin-plugin/WorkerPlugin.d.ts +1 -1
  103. package/dist/builtin-plugin/base.d.ts +1 -1
  104. package/dist/builtin-plugin/css-extract/index.d.ts +1 -1
  105. package/dist/builtin-plugin/html-plugin/hooks.d.ts +1 -1
  106. package/dist/builtin-plugin/html-plugin/plugin.d.ts +2 -2
  107. package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +1 -1
  108. package/dist/config/adapter.d.ts +1 -1
  109. package/dist/config/adapterRuleUse.d.ts +1 -1
  110. package/dist/config/types.d.ts +1 -1
  111. package/dist/container/ContainerPlugin.d.ts +1 -1
  112. package/dist/container/ContainerReferencePlugin.d.ts +1 -1
  113. package/dist/container/ModuleFederationRuntimePlugin.d.ts +1 -1
  114. package/dist/exports.d.ts +3 -3
  115. package/dist/index.mjs +44 -53
  116. package/dist/lib/DllReferencePlugin.d.ts +1 -1
  117. package/dist/lib/WebpackError.d.ts +1 -1
  118. package/dist/loader-runner/index.d.ts +1 -1
  119. package/dist/loader-runner/worker.d.ts +1 -1
  120. package/dist/napi-binding.d.ts +3068 -0
  121. package/dist/rspack.wasm32-wasi.wasm +0 -0
  122. package/dist/schema/config.d.ts +4 -4
  123. package/dist/schema/plugins.d.ts +1 -1
  124. package/dist/sharing/ConsumeSharedPlugin.d.ts +1 -1
  125. package/dist/sharing/ProvideSharedPlugin.d.ts +1 -1
  126. package/dist/sharing/ShareRuntimePlugin.d.ts +1 -1
  127. package/dist/stats/StatsFactory.d.ts +1 -1
  128. package/dist/stats/statsFactoryUtils.d.ts +2 -2
  129. package/dist/swc.d.ts +1 -1
  130. package/dist/taps/compilation.d.ts +1 -1
  131. package/dist/taps/types.d.ts +1 -1
  132. package/dist/util/SplitChunkSize.d.ts +1 -1
  133. package/dist/util/source.d.ts +1 -1
  134. package/package.json +5 -6
@@ -3,7 +3,7 @@ export declare const FileUriPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -3,7 +3,7 @@ export declare const FlagAllModulesAsUsedPlugin: {
3
3
  name: string;
4
4
  _args: [explanation: string];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -3,7 +3,7 @@ export declare const FlagDependencyExportsPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  import { RspackBuiltinPlugin } from "./base";
4
4
  export declare class FlagDependencyUsagePlugin extends RspackBuiltinPlugin {
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  import { RspackBuiltinPlugin } from "./base";
4
4
  export declare class HotModuleReplacementPlugin extends RspackBuiltinPlugin {
@@ -3,7 +3,7 @@ export declare const HttpExternalsRspackPlugin: {
3
3
  name: string;
4
4
  _args: [css: boolean, webAsync: boolean];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName, type RawHttpUriPluginOptions } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName, type RawHttpUriPluginOptions } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  import { RspackBuiltinPlugin } from "./base";
4
4
  export type HttpUriPluginOptionsAllowedUris = (string | RegExp)[];
@@ -1,4 +1,4 @@
1
- import { type RawIgnorePluginOptions } from "@rspack/binding";
1
+ import { type RawIgnorePluginOptions } from "../binding";
2
2
  export type IgnorePluginOptions = {
3
3
  /** A RegExp to test the resource against. */
4
4
  resourceRegExp: NonNullable<RawIgnorePluginOptions["resourceRegExp"]>;
@@ -13,7 +13,7 @@ export declare const IgnorePlugin: {
13
13
  name: string;
14
14
  _args: [options: IgnorePluginOptions];
15
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;
16
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
16
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
17
17
  apply(compiler: import("..").Compiler): void;
18
18
  };
19
19
  };
@@ -3,7 +3,7 @@ export declare const InferAsyncModulesPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName } from "../binding";
2
2
  import * as liteTapable from "@rspack/lite-tapable";
3
3
  import type { Chunk } from "../Chunk";
4
4
  import { type Compilation } from "../Compilation";
@@ -4,7 +4,7 @@ export declare const JsLoaderRspackPlugin: {
4
4
  name: string;
5
5
  _args: [compiler: Compiler];
6
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;
7
- raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
7
+ raw(compiler: Compiler): import("../binding").BuiltinPlugin;
8
8
  apply(compiler: Compiler): void;
9
9
  };
10
10
  };
@@ -3,7 +3,7 @@ export declare const JsonModulesPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -11,7 +11,7 @@ export declare const LibManifestPlugin: {
11
11
  name: string;
12
12
  _args: [options: LibManifestPluginOptions];
13
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;
14
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
14
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
15
15
  apply(compiler: import("..").Compiler): void;
16
16
  };
17
17
  };
@@ -26,7 +26,7 @@ export declare const LightningCssMinimizerRspackPlugin: {
26
26
  name: string;
27
27
  _args: [options?: LightningCssMinimizerRspackPluginOptions | undefined];
28
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;
29
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
29
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
30
30
  apply(compiler: import("..").Compiler): void;
31
31
  };
32
32
  };
@@ -8,7 +8,7 @@ export declare const LimitChunkCountPlugin: {
8
8
  name: string;
9
9
  _args: [options: LimitChunkCountOptions];
10
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;
11
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
11
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
12
12
  apply(compiler: import("..").Compiler): void;
13
13
  };
14
14
  };
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  import { RspackBuiltinPlugin } from "./base";
4
4
  export declare class MangleExportsPlugin extends RspackBuiltinPlugin {
@@ -3,7 +3,7 @@ export declare const MergeDuplicateChunksPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -3,7 +3,7 @@ export declare const ModuleChunkFormatPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  import { RspackBuiltinPlugin } from "./base";
4
4
  export declare class ModuleConcatenationPlugin extends RspackBuiltinPlugin {
@@ -3,7 +3,7 @@ export declare const ModuleInfoHeaderPlugin: {
3
3
  name: string;
4
4
  _args: [verbose: any];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -3,7 +3,7 @@ export declare const NamedChunkIdsPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -3,7 +3,7 @@ export declare const NamedModuleIdsPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  import { RspackBuiltinPlugin } from "./base";
4
4
  export declare class NaturalChunkIdsPlugin extends RspackBuiltinPlugin {
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  import { RspackBuiltinPlugin } from "./base";
4
4
  export declare class NaturalModuleIdsPlugin extends RspackBuiltinPlugin {
@@ -3,7 +3,7 @@ export declare const NoEmitOnErrorsPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -3,7 +3,7 @@ export declare const NodeTargetPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -4,7 +4,7 @@ export declare const NormalModuleReplacementPlugin: {
4
4
  name: string;
5
5
  _args: [resourceRegExp: RegExp, newResource: string | ((data: ResolveData) => void)];
6
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;
7
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
8
8
  apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -1,10 +1,10 @@
1
- import { type RawOccurrenceChunkIdsPluginOptions } from "@rspack/binding";
1
+ import { type RawOccurrenceChunkIdsPluginOptions } from "../binding";
2
2
  export declare const OccurrenceChunkIdsPlugin: {
3
3
  new (options?: RawOccurrenceChunkIdsPluginOptions | undefined): {
4
4
  name: string;
5
5
  _args: [options?: RawOccurrenceChunkIdsPluginOptions | undefined];
6
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;
7
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
8
8
  apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -1,11 +1,11 @@
1
- import { type RawProgressPluginOptions } from "@rspack/binding";
1
+ import { type RawProgressPluginOptions } from "../binding";
2
2
  export type ProgressPluginArgument = Partial<Omit<RawProgressPluginOptions, "handler">> | ((percentage: number, msg: string, ...args: string[]) => void) | undefined;
3
3
  export declare const ProgressPlugin: {
4
4
  new (progress?: ProgressPluginArgument): {
5
5
  name: string;
6
6
  _args: [progress?: ProgressPluginArgument];
7
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;
8
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
11
11
  };
@@ -4,7 +4,7 @@ export declare const ProvidePlugin: {
4
4
  name: string;
5
5
  _args: [provide: ProvidePluginOptions];
6
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;
7
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
7
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
8
8
  apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -3,7 +3,7 @@ export declare const RealContentHashPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -3,7 +3,7 @@ export declare const RemoveDuplicateModulesPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -3,7 +3,7 @@ export declare const RemoveEmptyChunksPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -1,4 +1,4 @@
1
- import { type JsRsdoctorAsset, type JsRsdoctorAssetPatch, type JsRsdoctorChunk, type JsRsdoctorChunkAssets, type JsRsdoctorChunkGraph, type JsRsdoctorChunkModules, type JsRsdoctorDependency, type JsRsdoctorEntrypoint, type JsRsdoctorEntrypointAssets, type JsRsdoctorExportInfo, type JsRsdoctorModule, type JsRsdoctorModuleGraph, type JsRsdoctorModuleGraphModule, type JsRsdoctorModuleIdsPatch, type JsRsdoctorModuleOriginalSource, type JsRsdoctorModuleSourcesPatch, type JsRsdoctorSideEffect, type JsRsdoctorSourcePosition, type JsRsdoctorSourceRange, type JsRsdoctorStatement, type JsRsdoctorVariable } from "@rspack/binding";
1
+ import { type JsRsdoctorAsset, type JsRsdoctorAssetPatch, type JsRsdoctorChunk, type JsRsdoctorChunkAssets, type JsRsdoctorChunkGraph, type JsRsdoctorChunkModules, type JsRsdoctorDependency, type JsRsdoctorEntrypoint, type JsRsdoctorEntrypointAssets, type JsRsdoctorExportInfo, type JsRsdoctorModule, type JsRsdoctorModuleGraph, type JsRsdoctorModuleGraphModule, type JsRsdoctorModuleIdsPatch, type JsRsdoctorModuleOriginalSource, type JsRsdoctorModuleSourcesPatch, type JsRsdoctorSideEffect, type JsRsdoctorSourcePosition, type JsRsdoctorSourceRange, type JsRsdoctorStatement, type JsRsdoctorVariable } from "../binding";
2
2
  import * as liteTapable from "@rspack/lite-tapable";
3
3
  import { type Compilation } from "../Compilation";
4
4
  import type { Compiler } from "../Compiler";
@@ -19,7 +19,7 @@ declare const RsdoctorPluginImpl: {
19
19
  name: string;
20
20
  _args: [c?: RsdoctorPluginOptions | undefined];
21
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;
22
- raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
22
+ raw(compiler: Compiler): import("../binding").BuiltinPlugin;
23
23
  apply(compiler: Compiler): void;
24
24
  };
25
25
  };
@@ -1,11 +1,11 @@
1
- import { type RawRslibPluginOptions } from "@rspack/binding";
1
+ import { type RawRslibPluginOptions } from "../binding";
2
2
  export type RslibPluginArgument = Partial<Omit<RawRslibPluginOptions, "handler">> | ((percentage: number, msg: string, ...args: string[]) => void) | undefined;
3
3
  export declare const RslibPlugin: {
4
4
  new (rslib: RawRslibPluginOptions): {
5
5
  name: string;
6
6
  _args: [rslib: RawRslibPluginOptions];
7
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;
8
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
11
11
  };
@@ -1,11 +1,11 @@
1
- import { type RawRstestPluginOptions } from "@rspack/binding";
1
+ import { type RawRstestPluginOptions } from "../binding";
2
2
  export type RstestPluginArgument = Partial<Omit<RawRstestPluginOptions, "handler">> | ((percentage: number, msg: string, ...args: string[]) => void) | undefined;
3
3
  export declare const RstestPlugin: {
4
4
  new (rstest: RawRstestPluginOptions): {
5
5
  name: string;
6
6
  _args: [rstest: RawRstestPluginOptions];
7
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;
8
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
11
11
  };
@@ -1,11 +1,11 @@
1
- import { type RawRuntimeChunkOptions } from "@rspack/binding";
1
+ import { type RawRuntimeChunkOptions } from "../binding";
2
2
  export type RuntimeChunkPluginOptions = RawRuntimeChunkOptions;
3
3
  export declare const RuntimeChunkPlugin: {
4
4
  new (options: RawRuntimeChunkOptions): {
5
5
  name: string;
6
6
  _args: [options: RawRuntimeChunkOptions];
7
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;
8
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
11
11
  };
@@ -1,4 +1,4 @@
1
- import binding from "@rspack/binding";
1
+ import binding from "../binding";
2
2
  import * as liteTapable from "@rspack/lite-tapable";
3
3
  import type { Chunk } from "../Chunk";
4
4
  import { type Compilation } from "../Compilation";
@@ -3,7 +3,7 @@ export declare const SideEffectsFlagPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -13,7 +13,7 @@ export declare const SizeLimitsPlugin: {
13
13
  maxEntrypointSize?: number;
14
14
  }];
15
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;
16
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
16
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
17
17
  apply(compiler: import("..").Compiler): void;
18
18
  };
19
19
  };
@@ -1,11 +1,11 @@
1
- import { type SourceMapDevToolPluginOptions } from "@rspack/binding";
1
+ import { type SourceMapDevToolPluginOptions } from "../binding";
2
2
  export type { SourceMapDevToolPluginOptions };
3
3
  export declare const SourceMapDevToolPlugin: {
4
4
  new (options: SourceMapDevToolPluginOptions): {
5
5
  name: string;
6
6
  _args: [options: SourceMapDevToolPluginOptions];
7
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;
8
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
9
9
  apply(compiler: import("..").Compiler): void;
10
10
  };
11
11
  };
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  import type { OptimizationSplitChunksOptions } from "../config";
4
4
  import { RspackBuiltinPlugin } from "./base";
@@ -1,4 +1,4 @@
1
- import { type RawSubresourceIntegrityPluginOptions } from "@rspack/binding";
1
+ import { type RawSubresourceIntegrityPluginOptions } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  export type SubresourceIntegrityHashFunction = "sha256" | "sha384" | "sha512";
4
4
  export type SubresourceIntegrityPluginOptions = {
@@ -21,7 +21,7 @@ declare const NativeSubresourceIntegrityPlugin: {
21
21
  name: string;
22
22
  _args: [options: NativeSubresourceIntegrityPluginOptions];
23
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;
24
- raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
24
+ raw(compiler: Compiler): import("../binding").BuiltinPlugin;
25
25
  apply(compiler: Compiler): void;
26
26
  };
27
27
  };
@@ -207,7 +207,7 @@ export declare const SwcJsMinimizerRspackPlugin: {
207
207
  name: string;
208
208
  _args: [options?: SwcJsMinimizerRspackPluginOptions | undefined];
209
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;
210
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
210
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
211
211
  apply(compiler: import("..").Compiler): void;
212
212
  };
213
213
  };
@@ -3,7 +3,7 @@ export declare const WarnCaseSensitiveModulesPlugin: {
3
3
  name: string;
4
4
  _args: [];
5
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;
6
- raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
6
+ raw(compiler: import("..").Compiler): import("../binding").BuiltinPlugin;
7
7
  apply(compiler: import("..").Compiler): void;
8
8
  };
9
9
  };
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  import { RspackBuiltinPlugin } from "./base";
4
4
  export declare class WebWorkerTemplatePlugin extends RspackBuiltinPlugin {
@@ -1,4 +1,4 @@
1
- import { type BuiltinPlugin, BuiltinPluginName } from "@rspack/binding";
1
+ import { type BuiltinPlugin, BuiltinPluginName } from "../binding";
2
2
  import type { Compiler } from "../Compiler";
3
3
  import type { ChunkLoading, OutputModule, WasmLoading, WorkerPublicPath } from "../config";
4
4
  import { RspackBuiltinPlugin } from "./base";
@@ -1,4 +1,4 @@
1
- import binding from "@rspack/binding";
1
+ import binding from "../binding";
2
2
  import type { Compiler, RspackPluginInstance } from "..";
3
3
  type AffectedHooks = keyof Compiler["hooks"];
4
4
  export declare function canInherentFromParent(affectedHooks?: AffectedHooks): boolean;
@@ -1,4 +1,4 @@
1
- import { type RawCssExtractPluginOption } from "@rspack/binding";
1
+ import { type RawCssExtractPluginOption } from "../../binding";
2
2
  import type { Compiler } from "../..";
3
3
  export * from "./loader";
4
4
  export type { CssExtractRspackLoaderOptions } from "./loader";
@@ -1,4 +1,4 @@
1
- import type { JsAfterEmitData, JsAfterTemplateExecutionData, JsAlterAssetTagGroupsData, JsAlterAssetTagsData, JsBeforeAssetTagGenerationData, JsBeforeEmitData } from "@rspack/binding";
1
+ import type { JsAfterEmitData, JsAfterTemplateExecutionData, JsAlterAssetTagGroupsData, JsAlterAssetTagsData, JsBeforeAssetTagGenerationData, JsBeforeEmitData } from "../../binding";
2
2
  import * as liteTapable from "@rspack/lite-tapable";
3
3
  import { type Compilation } from "../../Compilation";
4
4
  import type { HtmlRspackPluginOptions } from "./options";
@@ -1,4 +1,4 @@
1
- import { type JsHtmlPluginTag } from "@rspack/binding";
1
+ import { type JsHtmlPluginTag } from "../../binding";
2
2
  import type { Compilation } from "../../Compilation";
3
3
  import type { Compiler } from "../../Compiler";
4
4
  import { type HtmlRspackPluginHooks } from "./hooks";
@@ -8,7 +8,7 @@ declare const HtmlRspackPluginImpl: {
8
8
  name: string;
9
9
  _args: [c?: HtmlRspackPluginOptions | undefined];
10
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;
11
- raw(compiler: Compiler): import("@rspack/binding").BuiltinPlugin;
11
+ raw(compiler: Compiler): import("../../binding").BuiltinPlugin;
12
12
  apply(compiler: Compiler): void;
13
13
  };
14
14
  };
@@ -18,7 +18,7 @@ export declare const BuiltinLazyCompilationPlugin: {
18
18
  client: string;
19
19
  }, cacheable: boolean, entries: boolean, imports: boolean, test?: RegExp | ((module: Module) => boolean) | undefined];
20
20
  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
- raw(compiler: import("../..").Compiler): import("@rspack/binding").BuiltinPlugin;
21
+ raw(compiler: import("../..").Compiler): import("../../binding").BuiltinPlugin;
22
22
  apply(compiler: import("../..").Compiler): void;
23
23
  };
24
24
  };