@rspack-canary/core 1.7.0-canary-7f9f7f14-20251231041831 → 1.7.0-canary-b303a917-20251231130755

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 (183) hide show
  1. package/dist/BuildInfo.d.ts +4 -4
  2. package/dist/Chunk.d.ts +3 -3
  3. package/dist/ChunkGraph.d.ts +3 -3
  4. package/dist/Chunks.d.ts +2 -2
  5. package/dist/Compilation.d.ts +40 -40
  6. package/dist/Compiler.d.ts +23 -25
  7. package/dist/ConcatenatedModule.d.ts +1 -1
  8. package/dist/ContextModule.d.ts +1 -1
  9. package/dist/ContextModuleFactory.d.ts +2 -2
  10. package/dist/Diagnostics.d.ts +2 -2
  11. package/dist/Entrypoint.d.ts +1 -1
  12. package/dist/ExecuteModulePlugin.d.ts +1 -1
  13. package/dist/ExportsInfo.d.ts +2 -2
  14. package/dist/ExternalModule.d.ts +1 -1
  15. package/dist/FileSystem.d.ts +3 -3
  16. package/dist/Module.d.ts +6 -6
  17. package/dist/ModuleGraph.d.ts +3 -3
  18. package/dist/MultiCompiler.d.ts +8 -8
  19. package/dist/MultiStats.d.ts +3 -3
  20. package/dist/MultiWatching.d.ts +3 -3
  21. package/dist/NativeWatchFileSystem.d.ts +5 -5
  22. package/dist/NormalModule.d.ts +6 -6
  23. package/dist/NormalModuleFactory.d.ts +4 -4
  24. package/dist/Resolver.d.ts +2 -2
  25. package/dist/ResolverFactory.d.ts +3 -3
  26. package/dist/RspackError.d.ts +2 -2
  27. package/dist/RuntimeGlobals.d.ts +2 -2
  28. package/dist/RuntimeModule.d.ts +4 -4
  29. package/dist/Stats.d.ts +4 -4
  30. package/dist/VirtualModulesPlugin.d.ts +1 -1
  31. package/dist/Watching.d.ts +5 -5
  32. package/dist/builtin-loader/index.d.ts +1 -1
  33. package/dist/builtin-loader/swc/collectTypeScriptInfo.d.ts +1 -1
  34. package/dist/builtin-loader/swc/index.d.ts +5 -5
  35. package/dist/builtin-loader/swc/types.d.ts +8 -10
  36. package/dist/builtin-plugin/BannerPlugin.d.ts +1 -1
  37. package/dist/builtin-plugin/CircularDependencyRspackPlugin.d.ts +10 -5
  38. package/dist/builtin-plugin/CopyRspackPlugin.d.ts +2 -2
  39. package/dist/builtin-plugin/CssChunkingPlugin.d.ts +1 -1
  40. package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +2 -2
  41. package/dist/builtin-plugin/DeterministicModuleIdsPlugin.d.ts +2 -2
  42. package/dist/builtin-plugin/DllReferenceAgencyPlugin.d.ts +1 -1
  43. package/dist/builtin-plugin/DynamicEntryPlugin.d.ts +4 -4
  44. package/dist/builtin-plugin/EnableChunkLoadingPlugin.d.ts +1 -1
  45. package/dist/builtin-plugin/EnableLibraryPlugin.d.ts +3 -3
  46. package/dist/builtin-plugin/EntryPlugin.d.ts +3 -3
  47. package/dist/builtin-plugin/EsmLibraryPlugin.d.ts +1 -1
  48. package/dist/builtin-plugin/EvalDevToolModulePlugin.d.ts +1 -1
  49. package/dist/builtin-plugin/EvalSourceMapDevToolPlugin.d.ts +1 -1
  50. package/dist/builtin-plugin/ExternalsPlugin.d.ts +3 -3
  51. package/dist/builtin-plugin/FlagDependencyUsagePlugin.d.ts +2 -2
  52. package/dist/builtin-plugin/HotModuleReplacementPlugin.d.ts +3 -3
  53. package/dist/builtin-plugin/HttpUriPlugin.d.ts +4 -4
  54. package/dist/builtin-plugin/IgnorePlugin.d.ts +4 -4
  55. package/dist/builtin-plugin/JavascriptModulesPlugin.d.ts +6 -6
  56. package/dist/builtin-plugin/JsLoaderRspackPlugin.d.ts +1 -1
  57. package/dist/builtin-plugin/LightningCssMinimizerRspackPlugin.d.ts +2 -2
  58. package/dist/builtin-plugin/MangleExportsPlugin.d.ts +2 -2
  59. package/dist/builtin-plugin/ModuleConcatenationPlugin.d.ts +2 -2
  60. package/dist/builtin-plugin/NaturalChunkIdsPlugin.d.ts +2 -2
  61. package/dist/builtin-plugin/NaturalModuleIdsPlugin.d.ts +2 -2
  62. package/dist/builtin-plugin/NormalModuleReplacementPlugin.d.ts +1 -1
  63. package/dist/builtin-plugin/OccurrenceChunkIdsPlugin.d.ts +1 -1
  64. package/dist/builtin-plugin/ProgressPlugin.d.ts +2 -2
  65. package/dist/builtin-plugin/RsdoctorPlugin.d.ts +8 -8
  66. package/dist/builtin-plugin/RslibPlugin.d.ts +2 -2
  67. package/dist/builtin-plugin/RstestPlugin.d.ts +2 -2
  68. package/dist/builtin-plugin/RuntimeChunkPlugin.d.ts +1 -1
  69. package/dist/builtin-plugin/RuntimePlugin.d.ts +5 -5
  70. package/dist/builtin-plugin/SourceMapDevToolPlugin.d.ts +1 -1
  71. package/dist/builtin-plugin/SplitChunksPlugin.d.ts +4 -4
  72. package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +5 -5
  73. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +3 -3
  74. package/dist/builtin-plugin/{CaseSensitivePlugin.d.ts → WarnCaseSensitiveModulesPlugin.d.ts} +1 -1
  75. package/dist/builtin-plugin/WebWorkerTemplatePlugin.d.ts +3 -3
  76. package/dist/builtin-plugin/WorkerPlugin.d.ts +4 -4
  77. package/dist/builtin-plugin/base.d.ts +3 -3
  78. package/dist/builtin-plugin/css-extract/index.d.ts +7 -7
  79. package/dist/builtin-plugin/css-extract/loader.d.ts +2 -2
  80. package/dist/builtin-plugin/css-extract/utils.d.ts +1 -1
  81. package/dist/builtin-plugin/html-plugin/hooks.d.ts +4 -4
  82. package/dist/builtin-plugin/html-plugin/index.d.ts +2 -2
  83. package/dist/builtin-plugin/html-plugin/options.d.ts +6 -6
  84. package/dist/builtin-plugin/html-plugin/plugin.d.ts +5 -5
  85. package/dist/builtin-plugin/html-plugin/taps.d.ts +1 -1
  86. package/dist/builtin-plugin/index.d.ts +88 -84
  87. package/dist/builtin-plugin/lazy-compilation/lazyCompilation.d.ts +1 -1
  88. package/dist/builtin-plugin/lazy-compilation/middleware.d.ts +2 -2
  89. package/dist/builtin-plugin/rsc/Coordinator.d.ts +8 -0
  90. package/dist/builtin-plugin/rsc/RscClientPlugin.d.ts +10 -0
  91. package/dist/builtin-plugin/rsc/RscServerPlugin.d.ts +10 -0
  92. package/dist/builtin-plugin/rsc/index.d.ts +15 -0
  93. package/dist/config/adapter.d.ts +7 -7
  94. package/dist/config/adapterRuleUse.d.ts +16 -16
  95. package/dist/config/browserslistTargetHandler.d.ts +1 -1
  96. package/dist/config/defaults.d.ts +2 -11
  97. package/dist/config/devServer.d.ts +32 -32
  98. package/dist/config/index.d.ts +5 -5
  99. package/dist/config/normalization.d.ts +9 -9
  100. package/dist/config/target.d.ts +7 -7
  101. package/dist/config/types.d.ts +74 -75
  102. package/dist/container/ContainerPlugin.d.ts +4 -4
  103. package/dist/container/ContainerReferencePlugin.d.ts +4 -4
  104. package/dist/container/ModuleFederationManifestPlugin.d.ts +3 -3
  105. package/dist/container/ModuleFederationPlugin.d.ts +6 -8
  106. package/dist/container/ModuleFederationPluginV1.d.ts +5 -5
  107. package/dist/container/ModuleFederationRuntimePlugin.d.ts +0 -4
  108. package/dist/container/index.d.ts +4 -4
  109. package/dist/cssExtractHmr.js +19 -19
  110. package/dist/cssExtractLoader.js +16 -16
  111. package/dist/exports.d.ts +74 -76
  112. package/dist/index.d.ts +3 -3
  113. package/dist/index.js +1965 -1933
  114. package/dist/lib/AbstractMethodError.d.ts +1 -1
  115. package/dist/lib/Cache.d.ts +2 -2
  116. package/dist/lib/CacheFacade.d.ts +3 -3
  117. package/dist/lib/DllPlugin.d.ts +1 -1
  118. package/dist/lib/DllReferencePlugin.d.ts +5 -5
  119. package/dist/lib/EntryOptionPlugin.d.ts +2 -2
  120. package/dist/lib/EnvironmentPlugin.d.ts +1 -1
  121. package/dist/lib/HookWebpackError.d.ts +2 -2
  122. package/dist/lib/IgnoreWarningsPlugin.d.ts +1 -1
  123. package/dist/lib/LoaderOptionsPlugin.d.ts +2 -2
  124. package/dist/lib/LoaderTargetPlugin.d.ts +2 -2
  125. package/dist/lib/WebpackError.d.ts +3 -3
  126. package/dist/lib/cache/MemoryCachePlugin.d.ts +1 -1
  127. package/dist/lib/cache/getLazyHashedEtag.d.ts +1 -1
  128. package/dist/lib/cache/mergeEtags.d.ts +1 -1
  129. package/dist/loader-runner/ModuleError.d.ts +1 -1
  130. package/dist/loader-runner/index.d.ts +3 -3
  131. package/dist/loader-runner/loadLoader.d.ts +2 -2
  132. package/dist/loader-runner/service.d.ts +8 -8
  133. package/dist/loader-runner/utils.d.ts +3 -3
  134. package/dist/loader-runner/worker.d.ts +3 -3
  135. package/dist/logging/createConsoleLogger.d.ts +4 -4
  136. package/dist/moduleFederationDefaultRuntime.js +1 -1
  137. package/dist/node/NodeEnvironmentPlugin.d.ts +2 -2
  138. package/dist/node/NodeTemplatePlugin.d.ts +1 -1
  139. package/dist/node/NodeWatchFileSystem.d.ts +3 -3
  140. package/dist/node/nodeConsole.d.ts +2 -2
  141. package/dist/rspack.d.ts +6 -15
  142. package/dist/rspackOptionsApply.d.ts +1 -1
  143. package/dist/sharing/ConsumeSharedPlugin.d.ts +3 -3
  144. package/dist/sharing/ProvideSharedPlugin.d.ts +4 -4
  145. package/dist/sharing/SharePlugin.d.ts +1 -1
  146. package/dist/sharing/ShareRuntimePlugin.d.ts +3 -3
  147. package/dist/stats/DefaultStatsFactoryPlugin.d.ts +15 -15
  148. package/dist/stats/DefaultStatsPresetPlugin.d.ts +1 -1
  149. package/dist/stats/DefaultStatsPrinterPlugin.d.ts +1 -1
  150. package/dist/stats/StatsFactory.d.ts +5 -5
  151. package/dist/stats/StatsPrinter.d.ts +3 -3
  152. package/dist/stats/statsFactoryUtils.d.ts +5 -5
  153. package/dist/swc.d.ts +2 -2
  154. package/dist/taps/compilation.d.ts +2 -2
  155. package/dist/taps/compiler.d.ts +1 -1
  156. package/dist/taps/contextModuleFactory.d.ts +1 -1
  157. package/dist/taps/index.d.ts +6 -6
  158. package/dist/taps/javascriptModules.d.ts +1 -1
  159. package/dist/taps/normalModuleFactory.d.ts +1 -1
  160. package/dist/taps/types.d.ts +3 -3
  161. package/dist/trace/index.d.ts +4 -4
  162. package/dist/trace/traceHookPlugin.d.ts +1 -1
  163. package/dist/util/SplitChunkSize.d.ts +1 -1
  164. package/dist/util/createHash.d.ts +1 -1
  165. package/dist/util/createReadonlyMap.d.ts +1 -1
  166. package/dist/util/fs.d.ts +14 -14
  167. package/dist/util/hash/wasm-hash.d.ts +1 -1
  168. package/dist/util/identifier.d.ts +1 -1
  169. package/dist/util/index.d.ts +1 -2
  170. package/dist/util/source.d.ts +2 -2
  171. package/dist/util/validateConfig.d.ts +1 -1
  172. package/dist/worker.js +111 -111
  173. package/hot/dev-server.js +64 -64
  174. package/hot/emitter.js +11 -11
  175. package/hot/lazy-compilation-node.js +41 -41
  176. package/hot/lazy-compilation-web.js +52 -52
  177. package/hot/log-apply-result.js +36 -36
  178. package/hot/log.js +30 -30
  179. package/hot/only-dev-server.js +92 -92
  180. package/hot/poll.js +31 -31
  181. package/hot/signal.js +53 -53
  182. package/module.d.ts +215 -215
  183. package/package.json +4 -4
@@ -1,2 +1,2 @@
1
- export * from './options';
2
- export * from './plugin';
1
+ export * from "./options";
2
+ export * from "./plugin";
@@ -1,4 +1,4 @@
1
- import { Compilation } from '../../Compilation';
1
+ import { Compilation } from "../../Compilation";
2
2
  export type TemplateRenderFunction = (params: Record<string, any>) => string | Promise<string>;
3
3
  export type TemplateParamFunction = (params: Record<string, any>) => Record<string, any> | Promise<Record<string, any>>;
4
4
  export type HtmlRspackPluginOptions = {
@@ -28,13 +28,13 @@ export type HtmlRspackPluginOptions = {
28
28
  * If not specified, it will be automatically determined based on `scriptLoading` value.
29
29
  * @default true
30
30
  */
31
- inject?: boolean | 'head' | 'body';
31
+ inject?: boolean | "head" | "body";
32
32
  /** The public path used for script and link tags. */
33
33
  publicPath?: string;
34
34
  /** Inject a [`base`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base) tag. */
35
35
  base?: string | {
36
36
  href?: string;
37
- target?: '_self' | '_blank' | '_parent' | '_top';
37
+ target?: "_self" | "_blank" | "_parent" | "_top";
38
38
  };
39
39
  /**
40
40
  * Modern browsers support non-blocking JavaScript loading ([`defer` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#defer)) to improve the page startup performance.
@@ -42,7 +42,7 @@ export type HtmlRspackPluginOptions = {
42
42
  * Setting this option to `'module'` adds attribute `type="module"` to the `script`. This also implies `defer` attribute on the `script`, since modules are automatically deferred.
43
43
  * @default "defer"
44
44
  * */
45
- scriptLoading?: 'blocking' | 'defer' | 'module' | 'systemjs-module';
45
+ scriptLoading?: "blocking" | "defer" | "module" | "systemjs-module";
46
46
  /** Allows you to add only some chunks. */
47
47
  chunks?: string[];
48
48
  /** Allows you to skip some chunks. */
@@ -51,12 +51,12 @@ export type HtmlRspackPluginOptions = {
51
51
  * Allows to control how chunks should be sorted before they are included to the HTML.
52
52
  * @default "auto"
53
53
  */
54
- chunksSortMode?: 'auto' | 'manual';
54
+ chunksSortMode?: "auto" | "manual";
55
55
  /**
56
56
  * Configure the SRI hash algorithm, which is disabled by default.
57
57
  * @deprecated Use `experiments.SubresourceIntegrityPlugin` instead.
58
58
  */
59
- sri?: 'sha256' | 'sha384' | 'sha512';
59
+ sri?: "sha256" | "sha384" | "sha512";
60
60
  /**
61
61
  * Controls whether to minify the output, disabled by default.
62
62
  */
@@ -1,8 +1,8 @@
1
- import { type JsHtmlPluginTag } from '@rspack/binding';
2
- import type { Compilation } from '../../Compilation';
3
- import type { Compiler } from '../../Compiler';
4
- import { type HtmlRspackPluginHooks } from './hooks';
5
- import { type HtmlRspackPluginOptions } from './options';
1
+ import { type JsHtmlPluginTag } from "@rspack/binding";
2
+ import type { Compilation } from "../../Compilation";
3
+ import type { Compiler } from "../../Compiler";
4
+ import { type HtmlRspackPluginHooks } from "./hooks";
5
+ import { type HtmlRspackPluginOptions } from "./options";
6
6
  declare const HtmlRspackPluginImpl: {
7
7
  new (c?: HtmlRspackPluginOptions | undefined): {
8
8
  name: string;
@@ -1,2 +1,2 @@
1
- import type { CreatePartialRegisters } from '../../taps/types';
1
+ import type { CreatePartialRegisters } from "../../taps/types";
2
2
  export declare const createHtmlPluginHooksRegisters: CreatePartialRegisters<`HtmlPlugin`>;
@@ -1,84 +1,88 @@
1
- export * from './APIPlugin';
2
- export * from './ArrayPushCallbackChunkFormatPlugin';
3
- export * from './AssetModulesPlugin';
4
- export * from './AsyncWebAssemblyModulesPlugin';
5
- export * from './BannerPlugin';
6
- export * from './BundlerInfoRspackPlugin';
7
- export { createNativePlugin, RspackBuiltinPlugin } from './base';
8
- export * from './CaseSensitivePlugin';
9
- export * from './ChunkPrefetchPreloadPlugin';
10
- export * from './CircularDependencyRspackPlugin';
11
- export * from './CommonJsChunkFormatPlugin';
12
- export * from './ContextReplacementPlugin';
13
- export * from './CopyRspackPlugin';
14
- export * from './CssChunkingPlugin';
15
- export * from './CssModulesPlugin';
16
- export * from './css-extract/index';
17
- export * from './DataUriPlugin';
18
- export * from './DefinePlugin';
19
- export * from './DeterministicChunkIdsPlugin';
20
- export * from './DeterministicModuleIdsPlugin';
21
- export * from './DllEntryPlugin';
22
- export * from './DllReferenceAgencyPlugin';
23
- export * from './DynamicEntryPlugin';
24
- export * from './ElectronTargetPlugin';
25
- export * from './EnableChunkLoadingPlugin';
26
- export * from './EnableLibraryPlugin';
27
- export * from './EnableWasmLoadingPlugin';
28
- export * from './EnsureChunkConditionsPlugin';
29
- export * from './EntryPlugin';
30
- export * from './EsmLibraryPlugin';
31
- export * from './EvalDevToolModulePlugin';
32
- export * from './EvalSourceMapDevToolPlugin';
33
- export * from './ExternalsPlugin';
34
- export * from './FetchCompileAsyncWasmPlugin';
35
- export * from './FileUriPlugin';
36
- export * from './FlagDependencyExportsPlugin';
37
- export * from './FlagDependencyUsagePlugin';
38
- export * from './HotModuleReplacementPlugin';
39
- export * from './HttpExternalsRspackPlugin';
40
- export * from './HttpUriPlugin';
41
- export * from './html-plugin/index';
42
- export * from './IgnorePlugin';
43
- export * from './InferAsyncModulesPlugin';
44
- export * from './InlineExportsPlugin';
45
- export * from './JavascriptModulesPlugin';
46
- export * from './JsLoaderRspackPlugin';
47
- export * from './JsonModulesPlugin';
48
- export * from './LibManifestPlugin';
49
- export * from './LightningCssMinimizerRspackPlugin';
50
- export * from './LightningCssMinimizerRspackPlugin';
51
- export * from './LimitChunkCountPlugin';
52
- export * from './lazy-compilation/middleware';
53
- export * from './MangleExportsPlugin';
54
- export * from './MergeDuplicateChunksPlugin';
55
- export * from './ModuleChunkFormatPlugin';
56
- export * from './ModuleConcatenationPlugin';
57
- export * from './ModuleInfoHeaderPlugin';
58
- export * from './NamedChunkIdsPlugin';
59
- export * from './NamedModuleIdsPlugin';
60
- export * from './NaturalChunkIdsPlugin';
61
- export * from './NaturalModuleIdsPlugin';
62
- export * from './NodeTargetPlugin';
63
- export * from './NoEmitOnErrorsPlugin';
64
- export * from './NormalModuleReplacementPlugin';
65
- export * from './OccurrenceChunkIdsPlugin';
66
- export * from './ProgressPlugin';
67
- export * from './ProvidePlugin';
68
- export * from './RealContentHashPlugin';
69
- export * from './RemoveDuplicateModulesPlugin';
70
- export * from './RemoveEmptyChunksPlugin';
71
- export * from './RsdoctorPlugin';
72
- export * from './RslibPlugin';
73
- export * from './RstestPlugin';
74
- export * from './RuntimeChunkPlugin';
75
- export * from './RuntimePlugin';
76
- export * from './SideEffectsFlagPlugin';
77
- export * from './SizeLimitsPlugin';
78
- export * from './SourceMapDevToolPlugin';
79
- export * from './SplitChunksPlugin';
80
- export * from './SubresourceIntegrityPlugin';
81
- export * from './SwcJsMinimizerPlugin';
82
- export * from './URLPlugin';
83
- export * from './WebWorkerTemplatePlugin';
84
- export * from './WorkerPlugin';
1
+ export * from "./APIPlugin";
2
+ export * from "./ArrayPushCallbackChunkFormatPlugin";
3
+ export * from "./AssetModulesPlugin";
4
+ export * from "./AsyncWebAssemblyModulesPlugin";
5
+ export * from "./BannerPlugin";
6
+ export * from "./BundlerInfoRspackPlugin";
7
+ export { createNativePlugin, RspackBuiltinPlugin } from "./base";
8
+ export * from "./ChunkPrefetchPreloadPlugin";
9
+ export * from "./CircularDependencyRspackPlugin";
10
+ export * from "./CommonJsChunkFormatPlugin";
11
+ export * from "./ContextReplacementPlugin";
12
+ export * from "./CopyRspackPlugin";
13
+ export * from "./CssChunkingPlugin";
14
+ export * from "./CssModulesPlugin";
15
+ export * from "./css-extract/index";
16
+ export * from "./DataUriPlugin";
17
+ export * from "./DefinePlugin";
18
+ export * from "./DeterministicChunkIdsPlugin";
19
+ export * from "./DeterministicModuleIdsPlugin";
20
+ export * from "./DllEntryPlugin";
21
+ export * from "./DllReferenceAgencyPlugin";
22
+ export * from "./DynamicEntryPlugin";
23
+ export * from "./ElectronTargetPlugin";
24
+ export * from "./EnableChunkLoadingPlugin";
25
+ export * from "./EnableLibraryPlugin";
26
+ export * from "./EnableWasmLoadingPlugin";
27
+ export * from "./EnsureChunkConditionsPlugin";
28
+ export * from "./EntryPlugin";
29
+ export * from "./EsmLibraryPlugin";
30
+ export * from "./EvalDevToolModulePlugin";
31
+ export * from "./EvalSourceMapDevToolPlugin";
32
+ export * from "./ExternalsPlugin";
33
+ export * from "./FetchCompileAsyncWasmPlugin";
34
+ export * from "./FileUriPlugin";
35
+ export * from "./FlagDependencyExportsPlugin";
36
+ export * from "./FlagDependencyUsagePlugin";
37
+ export * from "./HotModuleReplacementPlugin";
38
+ export * from "./HttpExternalsRspackPlugin";
39
+ export * from "./HttpUriPlugin";
40
+ export * from "./html-plugin/index";
41
+ export * from "./IgnorePlugin";
42
+ export * from "./InferAsyncModulesPlugin";
43
+ export * from "./InlineExportsPlugin";
44
+ export * from "./JavascriptModulesPlugin";
45
+ export * from "./JsLoaderRspackPlugin";
46
+ export * from "./JsonModulesPlugin";
47
+ export * from "./LibManifestPlugin";
48
+ export * from "./LightningCssMinimizerRspackPlugin";
49
+ export * from "./LightningCssMinimizerRspackPlugin";
50
+ export * from "./LimitChunkCountPlugin";
51
+ export * from "./lazy-compilation/middleware";
52
+ export * from "./MangleExportsPlugin";
53
+ export * from "./MergeDuplicateChunksPlugin";
54
+ export * from "./ModuleChunkFormatPlugin";
55
+ export * from "./ModuleConcatenationPlugin";
56
+ export * from "./ModuleInfoHeaderPlugin";
57
+ export * from "./NamedChunkIdsPlugin";
58
+ export * from "./NamedModuleIdsPlugin";
59
+ export * from "./NaturalChunkIdsPlugin";
60
+ export * from "./NaturalModuleIdsPlugin";
61
+ export * from "./NodeTargetPlugin";
62
+ export * from "./NoEmitOnErrorsPlugin";
63
+ export * from "./NormalModuleReplacementPlugin";
64
+ export * from "./OccurrenceChunkIdsPlugin";
65
+ export * from "./ProgressPlugin";
66
+ export * from "./ProvidePlugin";
67
+ export * from "./RealContentHashPlugin";
68
+ export * from "./RemoveDuplicateModulesPlugin";
69
+ export * from "./RemoveEmptyChunksPlugin";
70
+ export * from "./RsdoctorPlugin";
71
+ export * from "./RslibPlugin";
72
+ export * from "./RstestPlugin";
73
+ export * from "./RuntimeChunkPlugin";
74
+ export * from "./RuntimePlugin";
75
+ export { createRscPlugins, RSC_LAYERS_NAMES } from "./rsc";
76
+ export * from "./rsc/Coordinator";
77
+ export * from "./rsc/RscClientPlugin";
78
+ export * from "./rsc/RscServerPlugin";
79
+ export * from "./SideEffectsFlagPlugin";
80
+ export * from "./SizeLimitsPlugin";
81
+ export * from "./SourceMapDevToolPlugin";
82
+ export * from "./SplitChunksPlugin";
83
+ export * from "./SubresourceIntegrityPlugin";
84
+ export * from "./SwcJsMinimizerPlugin";
85
+ export * from "./URLPlugin";
86
+ export * from "./WarnCaseSensitiveModulesPlugin";
87
+ export * from "./WebWorkerTemplatePlugin";
88
+ export * from "./WorkerPlugin";
@@ -1,4 +1,4 @@
1
- import type { Module } from '../../Module';
1
+ import type { Module } from "../../Module";
2
2
  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;
@@ -1,5 +1,5 @@
1
- import { type Compiler, MultiCompiler } from '../..';
2
- import type { MiddlewareHandler } from '../../config/devServer';
1
+ import { type Compiler, MultiCompiler } from "../..";
2
+ import type { MiddlewareHandler } from "../../config/devServer";
3
3
  export declare const LAZY_COMPILATION_PREFIX = "/lazy-compilation-using-";
4
4
  /**
5
5
  * Create a middleware that handles lazy compilation requests from the client.
@@ -0,0 +1,8 @@
1
+ import { type Compiler } from "../../Compiler";
2
+ export declare const GET_OR_INIT_BINDING: unique symbol;
3
+ export declare class Coordinator {
4
+ #private;
5
+ constructor();
6
+ applyServerCompiler(serverCompiler: Compiler): void;
7
+ applyClientCompiler(clientCompiler: Compiler): void;
8
+ }
@@ -0,0 +1,10 @@
1
+ import type binding from "@rspack/binding";
2
+ import type { Compiler } from "../..";
3
+ import { RspackBuiltinPlugin } from "../base";
4
+ import { type Coordinator } from "./Coordinator";
5
+ export declare class RscClientPlugin extends RspackBuiltinPlugin {
6
+ #private;
7
+ name: string;
8
+ constructor(coordinator: Coordinator);
9
+ raw(compiler: Compiler): binding.BuiltinPlugin;
10
+ }
@@ -0,0 +1,10 @@
1
+ import type binding from "@rspack/binding";
2
+ import type { Compiler } from "../..";
3
+ import { RspackBuiltinPlugin } from "../base";
4
+ import { type Coordinator } from "./Coordinator";
5
+ export declare class RscServerPlugin extends RspackBuiltinPlugin {
6
+ #private;
7
+ name: string;
8
+ constructor(coordinator: Coordinator);
9
+ raw(compiler: Compiler): binding.BuiltinPlugin;
10
+ }
@@ -0,0 +1,15 @@
1
+ import type { RspackPluginInstance } from "../..";
2
+ export declare function createRscPlugins(): {
3
+ ServerPlugin: RspackPluginInstance;
4
+ ClientPlugin: RspackPluginInstance;
5
+ };
6
+ export declare const RSC_LAYERS_NAMES: {
7
+ /**
8
+ * The layer for server-only runtime and picking up `react-server` export conditions.
9
+ */
10
+ REACT_SERVER_COMPONENTS: string;
11
+ /**
12
+ * Server Side Rendering layer for app.
13
+ */
14
+ SERVER_SIDE_RENDERING: string;
15
+ };
@@ -1,8 +1,8 @@
1
- import { type RawOptions } from '@rspack/binding';
2
- import type { Compiler } from '../Compiler';
3
- import { type LoaderContext, type LoaderDefinition, type LoaderDefinitionFunction, type PitchLoaderDefinitionFunction } from './adapterRuleUse';
4
- import type { RspackOptionsNormalized } from './normalization';
5
- import type { Resolve } from './types';
6
- export type { LoaderContext, LoaderDefinition, LoaderDefinitionFunction, PitchLoaderDefinitionFunction, };
1
+ import { type RawOptions } from "@rspack/binding";
2
+ import type { Compiler } from "../Compiler";
3
+ import { type LoaderContext, type LoaderDefinition, type LoaderDefinitionFunction, type PitchLoaderDefinitionFunction } from "./adapterRuleUse";
4
+ import type { RspackOptionsNormalized } from "./normalization";
5
+ import type { Resolve } from "./types";
6
+ export type { LoaderContext, LoaderDefinition, LoaderDefinitionFunction, PitchLoaderDefinitionFunction };
7
7
  export declare const getRawOptions: (options: RspackOptionsNormalized, compiler: Compiler) => RawOptions;
8
- export declare function getRawResolve(resolve: Resolve): RawOptions['resolve'];
8
+ export declare function getRawResolve(resolve: Resolve): RawOptions["resolve"];
@@ -1,18 +1,18 @@
1
- import type { AssetInfo, RawModuleRuleUse, RawOptions } from '@rspack/binding';
2
- import type { Compilation } from '../Compilation';
3
- import type { Compiler } from '../Compiler';
4
- import { type LoaderObject } from '../loader-runner';
5
- import type { Logger } from '../logging/Logger';
6
- import type { Module } from '../Module';
7
- import type { ResolveRequest } from '../Resolver';
8
- import type Hash from '../util/hash';
9
- import type { RspackOptionsNormalized } from './normalization';
10
- import type { Mode, PublicPath, Resolve, RuleSetUseItem, Target } from './types';
1
+ import type { AssetInfo, RawModuleRuleUse, RawOptions } from "@rspack/binding";
2
+ import type { Compilation } from "../Compilation";
3
+ import type { Compiler } from "../Compiler";
4
+ import { type LoaderObject } from "../loader-runner";
5
+ import type { Logger } from "../logging/Logger";
6
+ import type { Module } from "../Module";
7
+ import type { ResolveRequest } from "../Resolver";
8
+ import type Hash from "../util/hash";
9
+ import type { RspackOptionsNormalized } from "./normalization";
10
+ import type { Mode, PublicPath, Resolve, RuleSetUseItem, Target } from "./types";
11
11
  export declare const BUILTIN_LOADER_PREFIX = "builtin:";
12
12
  export interface ComposeJsUseOptions {
13
- context: RawOptions['context'];
14
- mode: RawOptions['mode'];
15
- experiments: RawOptions['experiments'];
13
+ context: RawOptions["context"];
14
+ mode: RawOptions["mode"];
15
+ experiments: RawOptions["experiments"];
16
16
  compiler: Compiler;
17
17
  }
18
18
  export interface RawSourceMap {
@@ -87,7 +87,7 @@ export interface Diagnostic {
87
87
  * If provided, it becomes the `StatsError.file` value in stats.
88
88
  */
89
89
  file?: string;
90
- severity: 'error' | 'warning';
90
+ severity: "error" | "warning";
91
91
  }
92
92
  export interface LoaderExperiments {
93
93
  emitDiagnostic(diagnostic: Diagnostic): void;
@@ -387,5 +387,5 @@ export type LoaderDefinition<OptionsType = {}, ContextAdditions = {}> = LoaderDe
387
387
  pitch?: PitchLoaderDefinitionFunction;
388
388
  };
389
389
  export declare function createRawModuleRuleUses(uses: RuleSetUseItem | RuleSetUseItem[], path: string, options: ComposeJsUseOptions): RawModuleRuleUse[];
390
- export declare function isUseSourceMap(devtool: RspackOptionsNormalized['devtool']): boolean;
391
- export declare function isUseSimpleSourceMap(devtool: RspackOptionsNormalized['devtool']): boolean;
390
+ export declare function isUseSourceMap(devtool: RspackOptionsNormalized["devtool"]): boolean;
391
+ export declare function isUseSimpleSourceMap(devtool: RspackOptionsNormalized["devtool"]): boolean;
@@ -7,7 +7,7 @@
7
7
  * Copyright (c) JS Foundation and other contributors
8
8
  * https://github.com/webpack/webpack/blob/main/LICENSE
9
9
  */
10
- import type { ApiTargetProperties, EcmaTargetProperties, PlatformTargetProperties } from './target';
10
+ import type { ApiTargetProperties, EcmaTargetProperties, PlatformTargetProperties } from "./target";
11
11
  /**
12
12
  * @param browsers supported browsers list
13
13
  * @returns target properties
@@ -1,13 +1,4 @@
1
- import type { RspackOptionsNormalized } from './normalization';
2
- export declare const applyRspackOptionsDefaults: (options: RspackOptionsNormalized) => {
3
- platform: false | {
4
- web: boolean | null | undefined;
5
- browser: boolean | null | undefined;
6
- webworker: boolean | null | undefined;
7
- node: boolean | null | undefined;
8
- nwjs: boolean | null | undefined;
9
- electron: boolean | null | undefined;
10
- };
11
- };
1
+ import type { RspackOptionsNormalized } from "./normalization";
2
+ export declare const applyRspackOptionsDefaults: (options: RspackOptionsNormalized) => void;
12
3
  export declare const applyRspackOptionsBaseDefaults: (options: RspackOptionsNormalized) => void;
13
4
  export declare const getPnpDefault: () => boolean;
@@ -7,22 +7,22 @@
7
7
  * Copyright (c) JS Foundation and other contributors
8
8
  * https://github.com/webpack/webpack-dev-server/blob/master/LICENSE
9
9
  */
10
- import type * as http from 'node:http';
11
- import type * as net from 'node:net';
12
- import type * as stream from 'node:stream';
13
- import type * as url from 'node:url';
14
- import type { Compiler, LiteralUnion, MultiCompiler, MultiStats, Stats, Watching } from '..';
15
- type Logger = ReturnType<Compiler['getInfrastructureLogger']>;
16
- type MultiWatching = MultiCompiler['watch'];
17
- type BasicServer = import('net').Server | import('tls').Server;
18
- type ReadStream = import('fs').ReadStream;
19
- type IncomingMessage = import('http').IncomingMessage;
20
- type ServerResponse = import('http').ServerResponse;
21
- type ServerOptions = import('https').ServerOptions & {
10
+ import type * as http from "node:http";
11
+ import type * as net from "node:net";
12
+ import type * as stream from "node:stream";
13
+ import type * as url from "node:url";
14
+ import type { Compiler, LiteralUnion, MultiCompiler, MultiStats, Stats, Watching } from "..";
15
+ type Logger = ReturnType<Compiler["getInfrastructureLogger"]>;
16
+ type MultiWatching = MultiCompiler["watch"];
17
+ type BasicServer = import("net").Server | import("tls").Server;
18
+ type ReadStream = import("fs").ReadStream;
19
+ type IncomingMessage = import("http").IncomingMessage;
20
+ type ServerResponse = import("http").ServerResponse;
21
+ type ServerOptions = import("https").ServerOptions & {
22
22
  spdy?: {
23
23
  plain?: boolean | undefined;
24
24
  ssl?: boolean | undefined;
25
- 'x-forwarded-for'?: string | undefined;
25
+ "x-forwarded-for"?: string | undefined;
26
26
  protocol?: string | undefined;
27
27
  protocols?: string[] | undefined;
28
28
  };
@@ -36,15 +36,15 @@ type Headers = {
36
36
  key: string;
37
37
  value: string;
38
38
  }[] | Record<string, string | string[]>;
39
- type OutputFileSystem = import('..').OutputFileSystem & {
40
- statSync: import('fs').StatSyncFn;
41
- readFileSync: typeof import('fs').readFileSync;
39
+ type OutputFileSystem = import("..").OutputFileSystem & {
40
+ statSync: import("fs").StatSyncFn;
41
+ readFileSync: typeof import("fs").readFileSync;
42
42
  };
43
- type RspackConfiguration = import('..').Configuration;
44
- type Port = number | LiteralUnion<'auto', string>;
43
+ type RspackConfiguration = import("..").Configuration;
44
+ type Port = number | LiteralUnion<"auto", string>;
45
45
  type HistoryContext = {
46
46
  readonly match: RegExpMatchArray;
47
- readonly parsedUrl: import('url').Url;
47
+ readonly parsedUrl: import("url").Url;
48
48
  readonly request: any;
49
49
  };
50
50
  type RewriteTo = (context: HistoryContext) => string;
@@ -68,13 +68,13 @@ type DevMiddlewareOptions<RequestInternal extends IncomingMessage = IncomingMess
68
68
  writeToDisk?: boolean | ((targetPath: string) => boolean) | undefined;
69
69
  methods?: string[] | undefined;
70
70
  headers?: any;
71
- publicPath?: NonNullable<RspackConfiguration['output']>['publicPath'];
72
- stats?: RspackConfiguration['stats'];
71
+ publicPath?: NonNullable<RspackConfiguration["output"]>["publicPath"];
72
+ stats?: RspackConfiguration["stats"];
73
73
  serverSideRender?: boolean | undefined;
74
74
  outputFileSystem?: OutputFileSystem | undefined;
75
75
  index?: string | boolean | undefined;
76
76
  modifyResponseData?: ModifyResponseData<RequestInternal, ResponseInternal> | undefined;
77
- etag?: 'strong' | 'weak' | undefined;
77
+ etag?: "strong" | "weak" | undefined;
78
78
  lastModified?: boolean | undefined;
79
79
  cacheControl?: string | number | boolean | {
80
80
  maxAge?: number;
@@ -100,7 +100,7 @@ type WatchFiles = {
100
100
  paths: string | string[];
101
101
  options?: (ChokidarWatchOptions & {
102
102
  aggregateTimeout?: number;
103
- ignored?: ChokidarWatchOptions['ignored'];
103
+ ignored?: ChokidarWatchOptions["ignored"];
104
104
  poll?: number | boolean;
105
105
  }) | undefined;
106
106
  };
@@ -111,12 +111,12 @@ type Static = {
111
111
  staticOptions?: ServeStaticOptions | undefined;
112
112
  watch?: boolean | (ChokidarWatchOptions & {
113
113
  aggregateTimeout?: number;
114
- ignored?: ChokidarWatchOptions['ignored'];
114
+ ignored?: ChokidarWatchOptions["ignored"];
115
115
  poll?: number | boolean;
116
116
  }) | undefined;
117
117
  };
118
- type ServerType<A extends BasicApplication = BasicApplication, S extends BasicServer = import('http').Server<typeof import('http').IncomingMessage, typeof import('http').ServerResponse>> = LiteralUnion<'http' | 'https' | 'spdy' | 'http2', string> | ((arg0: ServerOptions, arg1: A) => S);
119
- type ServerConfiguration<A extends BasicApplication = BasicApplication, S extends BasicServer = import('http').Server<typeof import('http').IncomingMessage, typeof import('http').ServerResponse>> = {
118
+ type ServerType<A extends BasicApplication = BasicApplication, S extends BasicServer = import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>> = LiteralUnion<"http" | "https" | "spdy" | "http2", string> | ((arg0: ServerOptions, arg1: A) => S);
119
+ type ServerConfiguration<A extends BasicApplication = BasicApplication, S extends BasicServer = import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>> = {
120
120
  type?: ServerType<A, S> | undefined;
121
121
  options?: ServerOptions | undefined;
122
122
  };
@@ -170,7 +170,7 @@ type WebSocketURL = {
170
170
  username?: string | undefined;
171
171
  };
172
172
  type ClientConfiguration = {
173
- logging?: 'none' | 'error' | 'warn' | 'info' | 'log' | 'verbose' | undefined;
173
+ logging?: "none" | "error" | "warn" | "info" | "log" | "verbose" | undefined;
174
174
  overlay?: boolean | {
175
175
  warnings?: OverlayMessageOptions;
176
176
  errors?: OverlayMessageOptions;
@@ -181,11 +181,11 @@ type ClientConfiguration = {
181
181
  webSocketTransport?: string | undefined;
182
182
  webSocketURL?: string | WebSocketURL | undefined;
183
183
  };
184
- export type DevServerOptions<A extends BasicApplication = BasicApplication, S extends BasicServer = import('http').Server<typeof import('http').IncomingMessage, typeof import('http').ServerResponse>> = {
184
+ export type DevServerOptions<A extends BasicApplication = BasicApplication, S extends BasicServer = import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>> = {
185
185
  ipc?: string | boolean | undefined;
186
186
  host?: string | undefined;
187
187
  port?: Port | undefined;
188
- hot?: boolean | 'only' | undefined;
188
+ hot?: boolean | "only" | undefined;
189
189
  liveReload?: boolean | undefined;
190
190
  devMiddleware?: DevMiddlewareOptions | undefined;
191
191
  compress?: boolean | undefined;
@@ -210,9 +210,9 @@ interface HttpProxyMiddlewareOptions extends HttpProxyServerOptions {
210
210
  [regexp: string]: string;
211
211
  } | ((path: string, req: Request) => string) | ((path: string, req: Request) => Promise<string>);
212
212
  router?: {
213
- [hostOrPath: string]: HttpProxyServerOptions['target'];
214
- } | ((req: Request) => HttpProxyServerOptions['target']) | ((req: Request) => Promise<HttpProxyServerOptions['target']>);
215
- logLevel?: 'debug' | 'info' | 'warn' | 'error' | 'silent';
213
+ [hostOrPath: string]: HttpProxyServerOptions["target"];
214
+ } | ((req: Request) => HttpProxyServerOptions["target"]) | ((req: Request) => Promise<HttpProxyServerOptions["target"]>);
215
+ logLevel?: "debug" | "info" | "warn" | "error" | "silent";
216
216
  logProvider?: LogProviderCallback;
217
217
  onError?: OnErrorCallback;
218
218
  onProxyRes?: OnProxyResCallback;
@@ -1,5 +1,5 @@
1
- export * from './adapter';
2
- export type { RawSourceMap } from './adapterRuleUse';
3
- export * from './defaults';
4
- export * from './normalization';
5
- export type * from './types';
1
+ export * from "./adapter";
2
+ export type { RawSourceMap } from "./adapterRuleUse";
3
+ export * from "./defaults";
4
+ export * from "./normalization";
5
+ export type * from "./types";
@@ -7,23 +7,23 @@
7
7
  * Copyright (c) JS Foundation and other contributors
8
8
  * https://github.com/webpack/webpack/blob/main/LICENSE
9
9
  */
10
- import type { HttpUriPluginOptions } from '../builtin-plugin';
11
- import type { Compilation } from '../Compilation';
12
- import type WebpackError from '../lib/WebpackError';
13
- import type { Amd, AssetModuleFilename, Bail, CacheOptions, ChunkFilename, ChunkLoading, ChunkLoadingGlobal, Clean, Context, CrossOriginLoading, CssChunkFilename, CssFilename, Dependencies, DevServer, DevTool, DevtoolFallbackModuleFilenameTemplate, DevtoolModuleFilenameTemplate, DevtoolNamespace, EnabledLibraryTypes, EnabledWasmLoadingTypes, EntryDescription, Environment, Externals, ExternalsPresets, ExternalsType, Filename, GeneratorOptionsByModuleType, GlobalObject, HashDigest, HashDigestLength, HashFunction, HashSalt, HotUpdateChunkFilename, HotUpdateGlobal, HotUpdateMainFilename, Iife, ImportFunctionName, ImportMetaName, Incremental, InfrastructureLogging, LazyCompilationOptions, LibraryOptions, Loader, Mode, Name, Node, NoParseOption, Optimization, OutputModule, ParserOptionsByModuleType, Path, Performance, Plugins, Profile, PublicPath, Resolve, RspackFutureOptions, RspackOptions, RuleSetRules, ScriptType, SnapshotOptions, SourceMapFilename, StatsValue, StrictModuleErrorHandling, Target, TrustedTypes, UniqueName, WasmLoading, Watch, WatchOptions, WebassemblyModuleFilename, WorkerPublicPath } from './types';
10
+ import type { HttpUriPluginOptions } from "../builtin-plugin";
11
+ import type { Compilation } from "../Compilation";
12
+ import type WebpackError from "../lib/WebpackError";
13
+ import type { Amd, AssetModuleFilename, Bail, CacheOptions, ChunkFilename, ChunkLoading, ChunkLoadingGlobal, Clean, Context, CrossOriginLoading, CssChunkFilename, CssFilename, Dependencies, DevServer, DevTool, DevtoolFallbackModuleFilenameTemplate, DevtoolModuleFilenameTemplate, DevtoolNamespace, EnabledLibraryTypes, EnabledWasmLoadingTypes, EntryDescription, Environment, Externals, ExternalsPresets, ExternalsType, Filename, GeneratorOptionsByModuleType, GlobalObject, HashDigest, HashDigestLength, HashFunction, HashSalt, HotUpdateChunkFilename, HotUpdateGlobal, HotUpdateMainFilename, Iife, ImportFunctionName, ImportMetaName, Incremental, InfrastructureLogging, LazyCompilationOptions, LibraryOptions, Loader, Mode, Name, Node, NoParseOption, Optimization, OutputModule, ParserOptionsByModuleType, Path, Performance, Plugins, Profile, PublicPath, Resolve, RspackFutureOptions, RspackOptions, RuleSetRules, ScriptType, SnapshotOptions, SourceMapFilename, StatsValue, StrictModuleErrorHandling, Target, TrustedTypes, UniqueName, WasmLoading, Watch, WatchOptions, WebassemblyModuleFilename, WorkerPublicPath } from "./types";
14
14
  export declare const getNormalizedRspackOptions: (config: RspackOptions) => RspackOptionsNormalized;
15
15
  export type EntryDynamicNormalized = () => Promise<EntryStaticNormalized>;
16
16
  export type EntryNormalized = EntryDynamicNormalized | EntryStaticNormalized;
17
17
  export interface EntryStaticNormalized {
18
18
  [k: string]: EntryDescriptionNormalized;
19
19
  }
20
- export type EntryDescriptionNormalized = Pick<EntryDescription, 'runtime' | 'chunkLoading' | 'wasmLoading' | 'asyncChunks' | 'publicPath' | 'baseUri' | 'filename' | 'library' | 'layer'> & {
20
+ export type EntryDescriptionNormalized = Pick<EntryDescription, "runtime" | "chunkLoading" | "wasmLoading" | "asyncChunks" | "publicPath" | "baseUri" | "filename" | "library" | "layer"> & {
21
21
  import?: string[];
22
22
  dependOn?: string[];
23
23
  };
24
24
  export interface OutputNormalized {
25
25
  path?: Path;
26
- pathinfo?: boolean | 'verbose';
26
+ pathinfo?: boolean | "verbose";
27
27
  clean?: Clean;
28
28
  publicPath?: PublicPath;
29
29
  filename?: Filename;
@@ -79,9 +79,9 @@ export interface ModuleOptionsNormalized {
79
79
  unsafeCache?: boolean | RegExp;
80
80
  }
81
81
  export type ExperimentCacheNormalized = boolean | {
82
- type: 'memory';
82
+ type: "memory";
83
83
  } | {
84
- type: 'persistent';
84
+ type: "persistent";
85
85
  buildDependencies: string[];
86
86
  version: string;
87
87
  snapshot: {
@@ -90,7 +90,7 @@ export type ExperimentCacheNormalized = boolean | {
90
90
  managedPaths: (string | RegExp)[];
91
91
  };
92
92
  storage: {
93
- type: 'filesystem';
93
+ type: "filesystem";
94
94
  directory: string;
95
95
  };
96
96
  };