@rspack/core 1.0.13 → 1.0.14

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 (82) hide show
  1. package/dist/Compiler.d.ts +0 -1
  2. package/dist/FileSystem.d.ts +0 -1
  3. package/dist/NormalModule.d.ts +2 -7
  4. package/dist/RuntimeGlobals.d.ts +1 -1
  5. package/dist/builtin-plugin/APIPlugin.d.ts +2 -2
  6. package/dist/builtin-plugin/ArrayPushCallbackChunkFormatPlugin.d.ts +2 -2
  7. package/dist/builtin-plugin/AssetModulesPlugin.d.ts +2 -2
  8. package/dist/builtin-plugin/AsyncWebAssemblyModulesPlugin.d.ts +2 -2
  9. package/dist/builtin-plugin/BannerPlugin.d.ts +2 -2
  10. package/dist/builtin-plugin/BundlerInfoRspackPlugin.d.ts +2 -2
  11. package/dist/builtin-plugin/ChunkPrefetchPreloadPlugin.d.ts +2 -2
  12. package/dist/builtin-plugin/CommonJsChunkFormatPlugin.d.ts +2 -2
  13. package/dist/builtin-plugin/ContextReplacementPlugin.d.ts +2 -2
  14. package/dist/builtin-plugin/CopyRspackPlugin.d.ts +2 -2
  15. package/dist/builtin-plugin/CssModulesPlugin.d.ts +2 -2
  16. package/dist/builtin-plugin/DataUriPlugin.d.ts +2 -2
  17. package/dist/builtin-plugin/DefinePlugin.d.ts +2 -2
  18. package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +2 -2
  19. package/dist/builtin-plugin/DeterministicModuleIdsPlugin.d.ts +2 -2
  20. package/dist/builtin-plugin/ElectronTargetPlugin.d.ts +2 -2
  21. package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +2 -2
  22. package/dist/builtin-plugin/EnableWasmLoadingPlugin.d.ts +2 -2
  23. package/dist/builtin-plugin/EnsureChunkConditionsPlugin.d.ts +2 -2
  24. package/dist/builtin-plugin/EntryPlugin.d.ts +2 -2
  25. package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +2 -2
  26. package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +2 -2
  27. package/dist/builtin-plugin/ExternalsPlugin.d.ts +2 -2
  28. package/dist/builtin-plugin/FetchCompileAsyncWasmPlugin.d.ts +2 -2
  29. package/dist/builtin-plugin/FileUriPlugin.d.ts +2 -2
  30. package/dist/builtin-plugin/FlagDependencyExportsPlugin.d.ts +2 -2
  31. package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +2 -2
  32. package/dist/builtin-plugin/HtmlRspackPlugin.d.ts +15 -9
  33. package/dist/builtin-plugin/HttpExternalsRspackPlugin.d.ts +2 -2
  34. package/dist/builtin-plugin/IgnorePlugin.d.ts +2 -2
  35. package/dist/builtin-plugin/InferAsyncModulesPlugin.d.ts +2 -2
  36. package/dist/builtin-plugin/JsonModulesPlugin.d.ts +2 -2
  37. package/dist/builtin-plugin/LightningCssMiminizerRspackPlugin.d.ts +2 -2
  38. package/dist/builtin-plugin/LimitChunkCountPlugin.d.ts +2 -2
  39. package/dist/builtin-plugin/MangleExportsPlugin.d.ts +2 -2
  40. package/dist/builtin-plugin/MergeDuplicateChunksPlugin.d.ts +2 -2
  41. package/dist/builtin-plugin/ModuleChunkFormatPlugin.d.ts +2 -2
  42. package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +2 -2
  43. package/dist/builtin-plugin/NamedChunkIdsPlugin.d.ts +2 -2
  44. package/dist/builtin-plugin/NamedModuleIdsPlugin.d.ts +2 -2
  45. package/dist/builtin-plugin/NaturalChunkIdsPlugin.d.ts +2 -2
  46. package/dist/builtin-plugin/NaturalModuleIdsPlugin.d.ts +2 -2
  47. package/dist/builtin-plugin/NoEmitOnErrorsPlugin.d.ts +2 -2
  48. package/dist/builtin-plugin/NodeTargetPlugin.d.ts +2 -2
  49. package/dist/builtin-plugin/ProgressPlugin.d.ts +2 -2
  50. package/dist/builtin-plugin/ProvidePlugin.d.ts +2 -2
  51. package/dist/builtin-plugin/RealContentHashPlugin.d.ts +2 -2
  52. package/dist/builtin-plugin/RemoveEmptyChunksPlugin.d.ts +2 -2
  53. package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +2 -2
  54. package/dist/builtin-plugin/RuntimePlugin.d.ts +2 -2
  55. package/dist/builtin-plugin/SideEffectsFlagPlugin.d.ts +2 -2
  56. package/dist/builtin-plugin/SizeLimitsPlugin.d.ts +4 -4
  57. package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +2 -2
  58. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +2 -2
  59. package/dist/builtin-plugin/WarnCaseSensitiveModulesPlugin.d.ts +2 -2
  60. package/dist/builtin-plugin/WebWorkerTemplatePlugin.d.ts +2 -2
  61. package/dist/builtin-plugin/css-extract/loader.d.ts +1 -1
  62. package/dist/builtin-plugin/lazy-compilation/backend.d.ts +1 -5
  63. package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +2 -2
  64. package/dist/config/adapterRuleUse.d.ts +0 -1
  65. package/dist/config/types.d.ts +500 -0
  66. package/dist/config/zod.d.ts +250 -1062
  67. package/dist/container/ModuleFederationRuntimePlugin.d.ts +2 -2
  68. package/dist/exports.d.ts +2 -2
  69. package/dist/index.js +36 -15
  70. package/dist/lib/HookWebpackError.d.ts +1 -1
  71. package/dist/lib/WebpackError.d.ts +0 -1
  72. package/dist/node/nodeConsole.d.ts +0 -1
  73. package/dist/stats/statsFactoryUtils.d.ts +1 -2
  74. package/dist/util/fs.d.ts +0 -3
  75. package/dist/util/hash/BatchedHash.d.ts +0 -1
  76. package/dist/util/hash/index.d.ts +0 -1
  77. package/dist/util/hash/wasm-hash.d.ts +0 -1
  78. package/dist/util/identifier.d.ts +8 -8
  79. package/dist/util/index.d.ts +0 -1
  80. package/dist/util/memoize.d.ts +1 -1
  81. package/dist/util/webpack.d.ts +1 -1
  82. package/package.json +3 -3
@@ -4,7 +4,7 @@ export declare const NaturalModuleIdsPlugin: {
4
4
  name: BuiltinPluginName;
5
5
  _args: [];
6
6
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
7
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
8
- apply(compiler: import("../Compiler").Compiler): void;
7
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -4,7 +4,7 @@ export declare const NoEmitOnErrorsPlugin: {
4
4
  name: BuiltinPluginName;
5
5
  _args: [];
6
6
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
7
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
8
- apply(compiler: import("../Compiler").Compiler): void;
7
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -4,7 +4,7 @@ export declare const NodeTargetPlugin: {
4
4
  name: BuiltinPluginName;
5
5
  _args: [];
6
6
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
7
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
8
- apply(compiler: import("../Compiler").Compiler): void;
7
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -5,7 +5,7 @@ export declare const ProgressPlugin: {
5
5
  name: BuiltinPluginName;
6
6
  _args: [progress?: ProgressPluginArgument];
7
7
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
8
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
9
- apply(compiler: import("../Compiler").Compiler): void;
8
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
9
+ apply(compiler: import("..").Compiler): void;
10
10
  };
11
11
  };
@@ -5,7 +5,7 @@ export declare const ProvidePlugin: {
5
5
  name: BuiltinPluginName;
6
6
  _args: [provide: ProvidePluginOptions];
7
7
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
8
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
9
- apply(compiler: import("../Compiler").Compiler): void;
8
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
9
+ apply(compiler: import("..").Compiler): void;
10
10
  };
11
11
  };
@@ -4,7 +4,7 @@ export declare const RealContentHashPlugin: {
4
4
  name: BuiltinPluginName;
5
5
  _args: [];
6
6
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
7
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
8
- apply(compiler: import("../Compiler").Compiler): void;
7
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -4,7 +4,7 @@ export declare const RemoveEmptyChunksPlugin: {
4
4
  name: BuiltinPluginName;
5
5
  _args: [];
6
6
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
7
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
8
- apply(compiler: import("../Compiler").Compiler): void;
7
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -5,7 +5,7 @@ export declare const RuntimeChunkPlugin: {
5
5
  name: BuiltinPluginName;
6
6
  _args: [options: RawRuntimeChunkOptions];
7
7
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
8
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
9
- apply(compiler: import("../Compiler").Compiler): void;
8
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
9
+ apply(compiler: import("..").Compiler): void;
10
10
  };
11
11
  };
@@ -4,7 +4,7 @@ export declare const RuntimePlugin: {
4
4
  name: BuiltinPluginName;
5
5
  _args: [];
6
6
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
7
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
8
- apply(compiler: import("../Compiler").Compiler): void;
7
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -4,7 +4,7 @@ export declare const SideEffectsFlagPlugin: {
4
4
  name: BuiltinPluginName;
5
5
  _args: [];
6
6
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
7
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
8
- apply(compiler: import("../Compiler").Compiler): void;
7
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -1,20 +1,20 @@
1
1
  import { BuiltinPluginName } from "@rspack/binding";
2
2
  export declare const SizeLimitsPlugin: {
3
3
  new (options: {
4
- assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
4
+ assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
5
5
  hints?: false | "error" | "warning" | undefined;
6
6
  maxAssetSize?: number | undefined;
7
7
  maxEntrypointSize?: number | undefined;
8
8
  }): {
9
9
  name: BuiltinPluginName;
10
10
  _args: [options: {
11
- assetFilter?: ((args_0: string, ...args_1: unknown[]) => boolean) | undefined;
11
+ assetFilter?: ((args_0: string, ...args: unknown[]) => boolean) | undefined;
12
12
  hints?: false | "error" | "warning" | undefined;
13
13
  maxAssetSize?: number | undefined;
14
14
  maxEntrypointSize?: number | undefined;
15
15
  }];
16
16
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
17
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
18
- apply(compiler: import("../Compiler").Compiler): void;
17
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
18
+ apply(compiler: import("..").Compiler): void;
19
19
  };
20
20
  };
@@ -17,8 +17,8 @@ export declare const SourceMapDevToolPlugin: {
17
17
  name: BuiltinPluginName;
18
18
  _args: [options: SourceMapDevToolPluginOptions];
19
19
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
20
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
21
- apply(compiler: import("../Compiler").Compiler): void;
20
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
21
+ apply(compiler: import("..").Compiler): void;
22
22
  };
23
23
  };
24
24
  export {};
@@ -206,8 +206,8 @@ export declare const SwcJsMinimizerRspackPlugin: {
206
206
  name: BuiltinPluginName;
207
207
  _args: [options?: SwcJsMinimizerRspackPluginOptions | undefined];
208
208
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
209
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
210
- apply(compiler: import("../Compiler").Compiler): void;
209
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
210
+ apply(compiler: import("..").Compiler): void;
211
211
  };
212
212
  };
213
213
  export {};
@@ -4,7 +4,7 @@ export declare const WarnCaseSensitiveModulesPlugin: {
4
4
  name: BuiltinPluginName;
5
5
  _args: [];
6
6
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
7
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
8
- apply(compiler: import("../Compiler").Compiler): void;
7
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -4,7 +4,7 @@ export declare const WebWorkerTemplatePlugin: {
4
4
  name: BuiltinPluginName;
5
5
  _args: [];
6
6
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
7
- raw(compiler: import("../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
8
- apply(compiler: import("../Compiler").Compiler): void;
7
+ raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin;
8
+ apply(compiler: import("..").Compiler): void;
9
9
  };
10
10
  };
@@ -2,7 +2,7 @@ import type { LoaderContext, LoaderDefinition } from "../..";
2
2
  export declare const BASE_URI = "webpack://";
3
3
  export declare const MODULE_TYPE = "css/mini-extract";
4
4
  export declare const AUTO_PUBLIC_PATH = "__mini_css_extract_plugin_public_path_auto__";
5
- export declare const ABSOLUTE_PUBLIC_PATH: string;
5
+ export declare const ABSOLUTE_PUBLIC_PATH = "webpack:///mini-css-extract-plugin/";
6
6
  export declare const SINGLE_DOT_PATH_SEGMENT = "__mini_css_extract_plugin_single_dot_path_segment__";
7
7
  export interface CssExtractRspackLoaderOptions {
8
8
  publicPath?: string | ((resourcePath: string, context: string) => string);
@@ -1,7 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
- /// <reference types="node" />
4
- /// <reference types="node" />
5
1
  import type { IncomingMessage, ServerOptions as ServerOptionsImport, ServerResponse } from "node:http";
6
2
  import type { ListenOptions, Server } from "node:net";
7
3
  import type { SecureContextOptions, TlsOptions } from "node:tls";
@@ -37,7 +33,7 @@ declare const getBackend: (options: Omit<LazyCompilationDefaultBackendOptions, "
37
33
  client: string;
38
34
  active: boolean;
39
35
  };
40
- } | undefined) => void) => void;
36
+ }) => void) => void;
41
37
  export default getBackend;
42
38
  export declare function dispose(callback: any): void;
43
39
  export declare function moduleImpl(args: {
@@ -18,7 +18,7 @@ export declare const BuiltinLazyCompilationPlugin: {
18
18
  client: string;
19
19
  }, cacheable: boolean, entries: boolean, imports: boolean, test?: RawRegex | ((m: JsModule) => boolean) | undefined];
20
20
  affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | undefined;
21
- raw(compiler: import("../../Compiler").Compiler): import("@rspack/binding").BuiltinPlugin;
22
- apply(compiler: import("../../Compiler").Compiler): void;
21
+ raw(compiler: import("../..").Compiler): import("@rspack/binding").BuiltinPlugin;
22
+ apply(compiler: import("../..").Compiler): void;
23
23
  };
24
24
  };
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type { JsAssetInfo, RawModuleRuleUse, RawOptions } from "@rspack/binding";
3
2
  import type { ResolveRequest } from "../../compiled/enhanced-resolve";
4
3
  import type { Compilation } from "../Compilation";